#3E1869#3E1869

#3E1869 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.132 H 300.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3E1869
RGBrgb(62, 24, 105)
HSLhsl(268, 63%, 25%)
HSVhsv(268, 77%, 41%)
CMYKcmyk(41%, 77.1%, 0%, 58.8%)
CIE-LABlab(18.79, 35.66, -40.06)
CIE-LCHlch(18.79, 53.63, 311.68°)
OKLaboklab(31.59% 0.0666 -0.1144)
OKLCHoklch(31.59% 0.132 300.2)
XYZxyz(4.8624, 2.6973, 13.6263)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1869 #436918
analogous
#181A69 #3E1869 #661869
triadic
#3E1869 #693E18 #18693E
tetradic
#3E1869 #69181A #436918 #186966
square
#3E1869 #69181A #436918 #186966
split-complementary
#3E1869 #696618 #1A6918
monochromatic
#0F0619 #210D37 #3E1869 #5B239B #792FCD

Accessibility & contrast

On white

13.64
#3E1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3E1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1869
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1869#FFFFFF#000000##FFFFFF
##3E18691.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#342C3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1869;
/* rgb */ color: rgb(62, 24, 105);
/* oklch */ color: oklch(31.6% 0.132 300.2);
Tailwind
colors: {
  custom: {
    50: '#785995',
    500: '#3e1869',
    950: '#000000',
  },
}
SCSS
$custom: #3e1869;
$custom-light: #785995;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1869",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 268.148,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.13231,
    "h": 300.2
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#3E1869
secondary
#719F3E
accent
#E64299
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1869

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

Preview Lab → · Contrast checker → · Palette generator →

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