#3E1D63#3E1D63

#3E1D63 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.8% C 0.118 H 301.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3E1D63
RGBrgb(62, 29, 99)
HSLhsl(268, 55%, 25%)
HSVhsv(268, 71%, 39%)
CMYKcmyk(37.4%, 70.7%, 0%, 61.2%)
CIE-LABlab(19.24, 31.33, -35.39)
CIE-LCHlch(19.24, 47.27, 311.52°)
OKLaboklab(31.75% 0.0619 -0.1006)
OKLCHoklch(31.75% 0.118 301.6)
XYZxyz(4.6776, 2.8037, 12.0967)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D63 #42631D
analogous
#1D1F63 #3E1D63 #611D63
triadic
#3E1D63 #633E1D #1D633E
tetradic
#3E1D63 #631D1F #42631D #1D6361
square
#3E1D63 #631D1F #42631D #1D6361
split-complementary
#3E1D63 #63611D #1F631D
monochromatic
#0F0718 #200F34 #3E1D63 #5C2B92 #7939C2

Accessibility & contrast

On white

13.45
#3E1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3E1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D63
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D63#FFFFFF#000000##FFFFFF
##3E1D631.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#362D3D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1d63;
/* rgb */ color: rgb(62, 29, 99);
/* oklch */ color: oklch(31.8% 0.118 301.6);
Tailwind
colors: {
  custom: {
    50: '#775b90',
    500: '#3e1d63',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d63;
$custom-light: #775b90;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d63",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 268.286,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.11818,
    "h": 301.6
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#3E1D63
secondary
#709844
accent
#DE4A98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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