#39238C#39238C

#39238C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.162 H 284.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#39238C
RGBrgb(57, 35, 140)
HSLhsl(253, 60%, 34%)
HSVhsv(253, 75%, 55%)
CMYKcmyk(59.3%, 75%, 0%, 45.1%)
CIE-LABlab(23.56, 39.29, -54.60)
CIE-LCHlch(23.56, 67.27, 305.74°)
OKLaboklab(35.83% 0.04 -0.1572)
OKLCHoklch(35.83% 0.162 284.3)
XYZxyz(7.0206, 3.9649, 25.2012)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39238C #768C23
analogous
#23428C #39238C #6E238C
triadic
#39238C #8C3923 #238C39
tetradic
#39238C #8C2342 #768C23 #238C6E
square
#39238C #8C2342 #768C23 #238C6E
split-complementary
#39238C #8C6E23 #428C23
monochromatic
#110B2A #25175B #39238C #4D2FBD #7055D4

Accessibility & contrast

On white

11.71
#39238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#39238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39238C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39238C#FFFFFF#000000##FFFFFF
##39238C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#0B4055
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39238c;
/* rgb */ color: rgb(57, 35, 140);
/* oklch */ color: oklch(35.8% 0.162 284.3);
Tailwind
colors: {
  custom: {
    50: '#7a60af',
    500: '#39238c',
    950: '#000000',
  },
}
SCSS
$custom: #39238c;
$custom-light: #7a60af;
$custom-dark: #000000;
JSON
{
  "hex": "#39238c",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 252.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3583,
    "c": 0.16225,
    "h": 284.3
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#39238C
secondary
#A3B852
accent
#E345C2
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39238C

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

Preview Lab → · Contrast checker → · Palette generator →

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