#3E1659#3E1659

#3E1659 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.0% C 0.116 H 308.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#3E1659
RGBrgb(62, 22, 89)
HSLhsl(276, 60%, 22%)
HSVhsv(276, 75%, 35%)
CMYKcmyk(30.3%, 75.3%, 0%, 65.1%)
CIE-LABlab(17.08, 32.43, -32.23)
CIE-LCHlch(17.08, 45.72, 315.17°)
OKLaboklab(29.95% 0.0719 -0.0913)
OKLCHoklch(29.95% 0.116 308.2)
XYZxyz(4.0763, 2.3193, 9.6822)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1659 #315916
analogous
#1D1659 #3E1659 #591653
triadic
#3E1659 #593E16 #16593E
tetradic
#3E1659 #591D16 #315916 #165359
square
#3E1659 #591D16 #315916 #165359
split-complementary
#3E1659 #535916 #16591D
monochromatic
#110619 #1C0A28 #3E1659 #60228A #822EBB

Accessibility & contrast

On white

14.35
#3E1659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E1659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1659
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1659#FFFFFF#000000##FFFFFF
##3E16591.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#062A58
Tritanopia (blue-blind)
#3A2535
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1659;
/* rgb */ color: rgb(62, 22, 89);
/* oklch */ color: oklch(30.0% 0.116 308.2);
Tailwind
colors: {
  custom: {
    50: '#765788',
    500: '#3e1659',
    950: '#000000',
  },
}
SCSS
$custom: #3e1659;
$custom-light: #765788;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1659",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 275.821,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29951,
    "c": 0.11623,
    "h": 308.2
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#3E1659
secondary
#5D903B
accent
#E44484
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1659

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

Preview Lab → · Contrast checker → · Palette generator →

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