#39238B#39238B

#39238B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.161 H 284.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#39238B
RGBrgb(57, 35, 139)
HSLhsl(253, 60%, 34%)
HSVhsv(253, 75%, 55%)
CMYKcmyk(59%, 74.8%, 0%, 45.5%)
CIE-LABlab(23.46, 38.98, -54.13)
CIE-LCHlch(23.46, 66.71, 305.76°)
OKLaboklab(35.73% 0.0402 -0.1559)
OKLCHoklch(35.73% 0.161 284.5)
XYZxyz(6.9472, 3.9356, 24.8147)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39238B #758B23
analogous
#23418B #39238B #6D238B
triadic
#39238B #8B3923 #238B39
tetradic
#39238B #8B2341 #758B23 #238B6D
square
#39238B #8B2341 #758B23 #238B6D
split-complementary
#39238B #8B6D23 #418B23
monochromatic
#110A29 #25175A #39238B #4D2FBC #6F54D4

Accessibility & contrast

On white

11.75
#39238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39238B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39238B#FFFFFF#000000##FFFFFF
##39238B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#0D4055
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39238b;
/* rgb */ color: rgb(57, 35, 139);
/* oklch */ color: oklch(35.7% 0.161 284.5);
Tailwind
colors: {
  custom: {
    50: '#7960ae',
    500: '#39238b',
    950: '#000000',
  },
}
SCSS
$custom: #39238b;
$custom-light: #7960ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39238b",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 252.692,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.161,
    "h": 284.5
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#39238B
secondary
#A2B852
accent
#E345C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39238B

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

Preview Lab → · Contrast checker → · Palette generator →

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