#3E1D6E#3E1D6E

#3E1D6E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.132 H 297.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#3E1D6E
RGBrgb(62, 29, 110)
HSLhsl(264, 58%, 27%)
HSVhsv(264, 74%, 43%)
CMYKcmyk(43.6%, 73.6%, 0%, 56.9%)
CIE-LABlab(20.16, 34.44, -41.08)
CIE-LCHlch(20.16, 53.61, 309.97°)
OKLaboklab(32.69% 0.0601 -0.1174)
OKLCHoklch(32.69% 0.132 297.1)
XYZxyz(5.2397, 3.0286, 15.0573)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D6E #4D6E1D
analogous
#1D256E #3E1D6E #661D6E
triadic
#3E1D6E #6E3E1D #1D6E3E
tetradic
#3E1D6E #6E1D25 #4D6E1D #1D6E66
square
#3E1D6E #6E1D25 #4D6E1D #1D6E66
split-complementary
#3E1D6E #6E661D #256E1D
monochromatic
#0E0618 #23103E #3E1D6E #592A9E #753ACB

Accessibility & contrast

On white

13.08
#3E1D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E1D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D6E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D6E#FFFFFF#000000##FFFFFF
##3E1D6E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#323143
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1d6e;
/* rgb */ color: rgb(62, 29, 110);
/* oklch */ color: oklch(32.7% 0.132 297.1);
Tailwind
colors: {
  custom: {
    50: '#785c98',
    500: '#3e1d6e',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d6e;
$custom-light: #785c98;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d6e",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 264.444,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.13191,
    "h": 297.1
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#3E1D6E
secondary
#7CA244
accent
#E146A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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