#3E1E9F#3E1E9F

#3E1E9F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.189 H 284.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3E1E9F
RGBrgb(62, 30, 159)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 62%)
CMYKcmyk(61%, 81.1%, 0%, 37.6%)
CIE-LABlab(25.12, 48.14, -63.71)
CIE-LCHlch(25.12, 79.85, 307.08°)
OKLaboklab(37.63% 0.0457 -0.1836)
OKLCHoklch(37.63% 0.189 284)
XYZxyz(8.7070, 4.4553, 33.1953)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E9F #7F9F1E
analogous
#1E3E9F #3E1E9F #7F1E9F
triadic
#3E1E9F #9F3E1E #1E9F3E
tetradic
#3E1E9F #9F1E3E #7F9F1E #1E9F7F
square
#3E1E9F #9F1E3E #7F9F1E #1E9F7F
split-complementary
#3E1E9F #9F7F1E #3E9F1E
monochromatic
#160B38 #2A146C #3E1E9F #5228D2 #7A58DF

Accessibility & contrast

On white

11.10
#3E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3E1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E9F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E9F#FFFFFF#000000##FFFFFF
##3E1E9F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e1e9f;
/* rgb */ color: rgb(62, 30, 159);
/* oklch */ color: oklch(37.6% 0.189 284.0);
Tailwind
colors: {
  custom: {
    50: '#805fbd',
    500: '#3e1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e9f;
$custom-light: #805fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e9f",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 254.884,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.18924,
    "h": 284
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#3E1E9F
secondary
#A8C356
accent
#EB3DC0
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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