#3E189F#3E189F

#3E189F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.194 H 284.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#3E189F
RGBrgb(62, 24, 159)
HSLhsl(257, 74%, 36%)
HSVhsv(257, 85%, 62%)
CMYKcmyk(61%, 84.9%, 0%, 37.6%)
CIE-LABlab(24.26, 50.68, -65.14)
CIE-LCHlch(24.26, 82.53, 307.88°)
OKLaboklab(37.04% 0.0489 -0.1877)
OKLCHoklch(37.04% 0.194 284.6)
XYZxyz(8.5693, 4.1800, 33.1494)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E189F #799F18
analogous
#18359F #3E189F #81189F
triadic
#3E189F #9F3E18 #189F3E
tetradic
#3E189F #9F1835 #799F18 #189F81
square
#3E189F #9F1835 #799F18 #189F81
split-complementary
#3E189F #9F8118 #359F18
monochromatic
#150835 #29106A #3E189F #5320D4 #784DE4

Accessibility & contrast

On white

11.44
#3E189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E189F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E189F#FFFFFF#000000##FFFFFF
##3E189F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e189f;
/* rgb */ color: rgb(62, 24, 159);
/* oklch */ color: oklch(37.0% 0.194 284.6);
Tailwind
colors: {
  custom: {
    50: '#815cbd',
    500: '#3e189f',
    950: '#000000',
  },
}
SCSS
$custom: #3e189f;
$custom-light: #815cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e189f",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 256.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.19401,
    "h": 284.6
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#3E189F
secondary
#A4C64D
accent
#F037BC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3E189F

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

Preview Lab → · Contrast checker → · Palette generator →

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