#39239F#39239F

#39239F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.185 H 280.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#39239F
RGBrgb(57, 35, 159)
HSLhsl(251, 64%, 38%)
HSVhsv(251, 78%, 62%)
CMYKcmyk(64.2%, 78%, 0%, 37.6%)
CIE-LABlab(25.49, 45.16, -63.12)
CIE-LCHlch(25.49, 77.62, 305.58°)
OKLaboklab(37.77% 0.0351 -0.1821)
OKLCHoklch(37.77% 0.185 280.9)
XYZxyz(8.5444, 4.5745, 33.2269)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39239F #899F23
analogous
#234B9F #39239F #77239F
triadic
#39239F #9F3923 #239F39
tetradic
#39239F #9F234B #899F23 #239F77
square
#39239F #9F234B #899F23 #239F77
split-complementary
#39239F #9F7723 #4B9F23
monochromatic
#150D3B #27186D #39239F #4B2ED1 #7660DC

Accessibility & contrast

On white

10.97
#39239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#39239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39239F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39239F#FFFFFF#000000##FFFFFF
##39239F1.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39239f;
/* rgb */ color: rgb(57, 35, 159);
/* oklch */ color: oklch(37.8% 0.185 280.9);
Tailwind
colors: {
  custom: {
    50: '#7d61bd',
    500: '#39239f',
    950: '#000000',
  },
}
SCSS
$custom: #39239f;
$custom-light: #7d61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#39239f",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 250.645,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.18549,
    "h": 280.9
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39239F

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

Preview Lab → · Contrast checker → · Palette generator →

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