#3E306F#3E306F

#3E306F is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.9% C 0.105 H 290.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3E306F
RGBrgb(62, 48, 111)
HSLhsl(253, 40%, 31%)
HSVhsv(253, 57%, 44%)
CMYKcmyk(44.1%, 56.8%, 0%, 56.5%)
CIE-LABlab(24.59, 23.14, -34.56)
CIE-LCHlch(24.59, 41.58, 303.80°)
OKLaboklab(35.95% 0.0365 -0.0982)
OKLCHoklch(35.95% 0.105 290.4)
XYZxyz(5.9120, 4.2855, 15.5515)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E306F #616F30
analogous
#30416F #3E306F #5D306F
triadic
#3E306F #6F3E30 #306F3E
tetradic
#3E306F #6F3041 #616F30 #306F5D
square
#3E306F #6F3041 #616F30 #306F5D
split-complementary
#3E306F #6F5D30 #416F30
monochromatic
#0E0B1A #261E44 #3E306F #56429A #745FBA

Accessibility & contrast

On white

11.31
#3E306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E306F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E306F#FFFFFF#000000##FFFFFF
##3E306F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#303D4A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e306f;
/* rgb */ color: rgb(62, 48, 111);
/* oklch */ color: oklch(35.9% 0.105 290.4);
Tailwind
colors: {
  custom: {
    50: '#776899',
    500: '#3e306f',
    950: '#000000',
  },
}
SCSS
$custom: #3e306f;
$custom-light: #776899;
$custom-dark: #000000;
JSON
{
  "hex": "#3e306f",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 253.333,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.10477,
    "h": 290.4
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#3E306F
secondary
#91A05B
accent
#D058B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3E306F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E306F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva