#3E1E68#3E1E68

#3E1E68 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.3% C 0.123 H 299.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#3E1E68
RGBrgb(62, 30, 104)
HSLhsl(266, 55%, 26%)
HSVhsv(266, 71%, 41%)
CMYKcmyk(40.4%, 71.2%, 0%, 59.2%)
CIE-LABlab(19.85, 32.18, -37.68)
CIE-LCHlch(19.85, 49.55, 310.50°)
OKLaboklab(32.32% 0.06 -0.1074)
OKLCHoklch(32.32% 0.123 299.2)
XYZxyz(4.9489, 2.9521, 13.4031)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E68 #48681E
analogous
#1E2368 #3E1E68 #631E68
triadic
#3E1E68 #683E1E #1E683E
tetradic
#3E1E68 #681E23 #48681E #1E6863
square
#3E1E68 #681E23 #48681E #1E6863
split-complementary
#3E1E68 #68631E #23681E
monochromatic
#0E0718 #221039 #3E1E68 #5A2C98 #773AC6

Accessibility & contrast

On white

13.20
#3E1E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3E1E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E68
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E68#FFFFFF#000000##FFFFFF
##3E1E681.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#342F40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1e68;
/* rgb */ color: rgb(62, 30, 104);
/* oklch */ color: oklch(32.3% 0.123 299.2);
Tailwind
colors: {
  custom: {
    50: '#775c94',
    500: '#3e1e68',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e68;
$custom-light: #775c94;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e68",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 265.946,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.12303,
    "h": 299.2
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#3E1E68
secondary
#779D45
accent
#DF499E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1E68

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

Preview Lab → · Contrast checker → · Palette generator →

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