#39239E#39239E

#39239E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.184 H 281.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#39239E
RGBrgb(57, 35, 158)
HSLhsl(251, 64%, 38%)
HSVhsv(251, 78%, 62%)
CMYKcmyk(63.9%, 77.8%, 0%, 38%)
CIE-LABlab(25.38, 44.86, -62.68)
CIE-LCHlch(25.38, 77.08, 305.59°)
OKLaboklab(37.67% 0.0353 -0.1809)
OKLCHoklch(37.67% 0.184 281)
XYZxyz(8.4580, 4.5399, 32.7717)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39239E #889E23
analogous
#234A9E #39239E #77239E
triadic
#39239E #9E3923 #239E39
tetradic
#39239E #9E234A #889E23 #239E77
square
#39239E #9E234A #889E23 #239E77
split-complementary
#39239E #9E7723 #4A9E23
monochromatic
#150D3A #27186C #39239E #4B2ED0 #7660DC

Accessibility & contrast

On white

11.01
#39239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#39239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39239E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39239E#FFFFFF#000000##FFFFFF
##39239E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39239e;
/* rgb */ color: rgb(57, 35, 158);
/* oklch */ color: oklch(37.7% 0.184 281.0);
Tailwind
colors: {
  custom: {
    50: '#7d61bc',
    500: '#39239e',
    950: '#000000',
  },
}
SCSS
$custom: #39239e;
$custom-light: #7d61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#39239e",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 250.732,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.1843,
    "h": 281
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#39239E
secondary
#AFC15C
accent
#E741C9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39239E

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

Preview Lab → · Contrast checker → · Palette generator →

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