#39238E#39238E

#39238E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.165 H 283.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#39238E
RGBrgb(57, 35, 142)
HSLhsl(252, 60%, 35%)
HSVhsv(252, 75%, 56%)
CMYKcmyk(59.9%, 75.4%, 0%, 44.3%)
CIE-LABlab(23.75, 39.91, -55.52)
CIE-LCHlch(23.75, 68.38, 305.71°)
OKLaboklab(36.03% 0.0395 -0.1599)
OKLCHoklch(36.03% 0.165 283.9)
XYZxyz(7.1694, 4.0245, 25.9850)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39238E #788E23
analogous
#23438E #39238E #6E238E
triadic
#39238E #8E3923 #238E39
tetradic
#39238E #8E2343 #788E23 #238E6E
square
#39238E #8E2343 #788E23 #238E6E
split-complementary
#39238E #8E6E23 #438E23
monochromatic
#120B2C #25175D #39238E #4D2FBF #7056D5

Accessibility & contrast

On white

11.63
#39238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39238E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39238E#FFFFFF#000000##FFFFFF
##39238E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#064156
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39238e;
/* rgb */ color: rgb(57, 35, 142);
/* oklch */ color: oklch(36.0% 0.165 283.9);
Tailwind
colors: {
  custom: {
    50: '#7a61b0',
    500: '#39238e',
    950: '#000000',
  },
}
SCSS
$custom: #39238e;
$custom-light: #7a61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39238e",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 252.336,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36029,
    "c": 0.16474,
    "h": 283.9
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39238E

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

Preview Lab → · Contrast checker → · Palette generator →

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