#3E1D68#3E1D68

#3E1D68 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.124 H 299.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3E1D68
RGBrgb(62, 29, 104)
HSLhsl(266, 56%, 26%)
HSVhsv(266, 72%, 41%)
CMYKcmyk(40.4%, 72.1%, 0%, 59.2%)
CIE-LABlab(19.65, 32.74, -38.01)
CIE-LCHlch(19.65, 50.16, 310.74°)
OKLaboklab(32.17% 0.0612 -0.1083)
OKLCHoklch(32.17% 0.124 299.5)
XYZxyz(4.9240, 2.9023, 13.3948)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D68 #47681D
analogous
#1D2168 #3E1D68 #631D68
triadic
#3E1D68 #683E1D #1D683E
tetradic
#3E1D68 #681D21 #47681D #1D6863
square
#3E1D68 #681D21 #47681D #1D6863
split-complementary
#3E1D68 #68631D #21681D
monochromatic
#0E0718 #211038 #3E1D68 #5B2A98 #7738C7

Accessibility & contrast

On white

13.29
#3E1D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3E1D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D68
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D68#FFFFFF#000000##FFFFFF
##3E1D681.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1d68;
/* rgb */ color: rgb(62, 29, 104);
/* oklch */ color: oklch(32.2% 0.124 299.5);
Tailwind
colors: {
  custom: {
    50: '#775c94',
    500: '#3e1d68',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d68;
$custom-light: #775c94;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d68",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 266.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32171,
    "c": 0.12444,
    "h": 299.5
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#3E1D68
secondary
#769D44
accent
#E0489D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1D68

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

Preview Lab → · Contrast checker → · Palette generator →

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