#3E1D65#3E1D65

#3E1D65 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.121 H 300.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3E1D65
RGBrgb(62, 29, 101)
HSLhsl(268, 55%, 25%)
HSVhsv(268, 71%, 40%)
CMYKcmyk(38.6%, 71.3%, 0%, 60.4%)
CIE-LABlab(19.40, 31.89, -36.44)
CIE-LCHlch(19.40, 48.43, 311.19°)
OKLaboklab(31.92% 0.0617 -0.1037)
OKLCHoklch(31.92% 0.121 300.7)
XYZxyz(4.7744, 2.8424, 12.6065)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D65 #44651D
analogous
#1D2065 #3E1D65 #621D65
triadic
#3E1D65 #653E1D #1D653E
tetradic
#3E1D65 #651D20 #44651D #1D6562
square
#3E1D65 #651D20 #44651D #1D6562
split-complementary
#3E1D65 #65621D #20651D
monochromatic
#0F0718 #210F35 #3E1D65 #5B2B95 #7838C4

Accessibility & contrast

On white

13.39
#3E1D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3E1D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D65
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D65#FFFFFF#000000##FFFFFF
##3E1D651.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#362E3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1d65;
/* rgb */ color: rgb(62, 29, 101);
/* oklch */ color: oklch(31.9% 0.121 300.7);
Tailwind
colors: {
  custom: {
    50: '#775c91',
    500: '#3e1d65',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d65;
$custom-light: #775c91;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d65",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 267.5,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31916,
    "c": 0.12069,
    "h": 300.7
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#3E1D65
secondary
#729A44
accent
#DF499A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1D65

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

Preview Lab → · Contrast checker → · Palette generator →

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