#39238D#39238D

#39238D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.164 H 284.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#39238D
RGBrgb(57, 35, 141)
HSLhsl(252, 60%, 35%)
HSVhsv(252, 75%, 55%)
CMYKcmyk(59.6%, 75.2%, 0%, 44.7%)
CIE-LABlab(23.65, 39.60, -55.06)
CIE-LCHlch(23.65, 67.82, 305.73°)
OKLaboklab(35.93% 0.0397 -0.1586)
OKLCHoklch(35.93% 0.164 284.1)
XYZxyz(7.0946, 3.9946, 25.5913)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39238D #778D23
analogous
#23428D #39238D #6E238D
triadic
#39238D #8D3923 #238D39
tetradic
#39238D #8D2342 #778D23 #238D6E
square
#39238D #8D2342 #778D23 #238D6E
split-complementary
#39238D #8D6E23 #428D23
monochromatic
#110B2B #25175C #39238D #4D2FBE #7055D5

Accessibility & contrast

On white

11.67
#39238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#39238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39238D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39238D#FFFFFF#000000##FFFFFF
##39238D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#084056
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39238d;
/* rgb */ color: rgb(57, 35, 141);
/* oklch */ color: oklch(35.9% 0.164 284.1);
Tailwind
colors: {
  custom: {
    50: '#7a60af',
    500: '#39238d',
    950: '#000000',
  },
}
SCSS
$custom: #39238d;
$custom-light: #7a60af;
$custom-dark: #000000;
JSON
{
  "hex": "#39238d",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 252.453,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35929,
    "c": 0.1635,
    "h": 284.1
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#39238D
secondary
#A4B953
accent
#E344C2
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39238D

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

Preview Lab → · Contrast checker → · Palette generator →

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