#39238F#39238F

#39238F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.166 H 283.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#39238F
RGBrgb(57, 35, 143)
HSLhsl(252, 61%, 35%)
HSVhsv(252, 76%, 56%)
CMYKcmyk(60.1%, 75.5%, 0%, 43.9%)
CIE-LABlab(23.85, 40.23, -55.98)
CIE-LCHlch(23.85, 68.93, 305.70°)
OKLaboklab(36.13% 0.0392 -0.1613)
OKLCHoklch(36.13% 0.166 283.7)
XYZxyz(7.2448, 4.0546, 26.3821)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39238F #798F23
analogous
#23438F #39238F #6F238F
triadic
#39238F #8F3923 #238F39
tetradic
#39238F #8F2343 #798F23 #238F6F
square
#39238F #8F2343 #798F23 #238F6F
split-complementary
#39238F #8F6F23 #438F23
monochromatic
#120B2D #25175E #39238F #4D2FC0 #7157D6

Accessibility & contrast

On white

11.60
#39238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#39238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39238F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39238F#FFFFFF#000000##FFFFFF
##39238F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#034157
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39238f;
/* rgb */ color: rgb(57, 35, 143);
/* oklch */ color: oklch(36.1% 0.166 283.7);
Tailwind
colors: {
  custom: {
    50: '#7a61b1',
    500: '#39238f',
    950: '#000000',
  },
}
SCSS
$custom: #39238f;
$custom-light: #7a61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#39238f",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 252.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36129,
    "c": 0.16598,
    "h": 283.7
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#39238F
secondary
#A5BA54
accent
#E444C3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39238F

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

Preview Lab → · Contrast checker → · Palette generator →

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