#3E1569#3E1569

#3E1569 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.136 H 300.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#3E1569
RGBrgb(62, 21, 105)
HSLhsl(269, 67%, 25%)
HSVhsv(269, 80%, 41%)
CMYKcmyk(41%, 80%, 0%, 58.8%)
CIE-LABlab(18.28, 37.12, -40.89)
CIE-LCHlch(18.28, 55.22, 312.23°)
OKLaboklab(31.23% 0.0696 -0.1168)
OKLCHoklch(31.23% 0.136 300.8)
XYZxyz(4.8039, 2.5803, 13.6068)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1569 #406915
analogous
#151669 #3E1569 #681569
triadic
#3E1569 #693E15 #15693E
tetradic
#3E1569 #691516 #406915 #156968
square
#3E1569 #691516 #406915 #156968
split-complementary
#3E1569 #696815 #166915
monochromatic
#0F051A #200B36 #3E1569 #5C1F9C #7A29CF

Accessibility & contrast

On white

13.85
#3E1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3E1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1569
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1569#FFFFFF#000000##FFFFFF
##3E15691.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#342B3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1569;
/* rgb */ color: rgb(62, 21, 105);
/* oklch */ color: oklch(31.2% 0.136 300.8);
Tailwind
colors: {
  custom: {
    50: '#785795',
    500: '#3e1569',
    950: '#000000',
  },
}
SCSS
$custom: #3e1569;
$custom-light: #785795;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1569",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 269.286,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31227,
    "c": 0.13592,
    "h": 300.8
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#3E1569
secondary
#6EA03A
accent
#EA3E96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1569

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

Preview Lab → · Contrast checker → · Palette generator →

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