#39239B#39239B

#39239B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.181 H 281.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#39239B
RGBrgb(57, 35, 155)
HSLhsl(251, 63%, 37%)
HSVhsv(251, 77%, 61%)
CMYKcmyk(63.2%, 77.4%, 0%, 39.2%)
CIE-LABlab(25.07, 43.94, -61.37)
CIE-LCHlch(25.07, 75.47, 305.60°)
OKLaboklab(37.35% 0.0361 -0.177)
OKLCHoklch(37.35% 0.181 281.5)
XYZxyz(8.2029, 4.4379, 31.4283)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39239B #859B23
analogous
#23499B #39239B #75239B
triadic
#39239B #9B3923 #239B39
tetradic
#39239B #9B2349 #859B23 #239B75
square
#39239B #9B2349 #859B23 #239B75
split-complementary
#39239B #9B7523 #499B23
monochromatic
#140C37 #271869 #39239B #4B2ECD #755EDB

Accessibility & contrast

On white

11.13
#39239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#39239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39239B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39239B#FFFFFF#000000##FFFFFF
##39239B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39239b;
/* rgb */ color: rgb(57, 35, 155);
/* oklch */ color: oklch(37.4% 0.181 281.5);
Tailwind
colors: {
  custom: {
    50: '#7d61ba',
    500: '#39239b',
    950: '#000000',
  },
}
SCSS
$custom: #39239b;
$custom-light: #7d61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39239b",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 251,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37353,
    "c": 0.18068,
    "h": 281.5
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#39239B
secondary
#ADBF5A
accent
#E642C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39239B

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

Preview Lab → · Contrast checker → · Palette generator →

#39239B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva