#39288C#39288C

#39288C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.157 H 283.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#39288C
RGBrgb(57, 40, 140)
HSLhsl(250, 56%, 35%)
HSVhsv(250, 71%, 55%)
CMYKcmyk(59.3%, 71.4%, 0%, 45.1%)
CIE-LABlab(24.58, 36.44, -52.92)
CIE-LCHlch(24.58, 64.26, 304.55°)
OKLaboklab(36.56% 0.0358 -0.1524)
OKLCHoklch(36.56% 0.157 283.2)
XYZxyz(7.1783, 4.2804, 25.2538)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39288C #7B8C28
analogous
#28498C #39288C #6B288C
triadic
#39288C #8C3928 #288C39
tetradic
#39288C #8C2849 #7B8C28 #288C6B
square
#39288C #8C2849 #7B8C28 #288C6B
split-complementary
#39288C #8C6B28 #498C28
monochromatic
#120D2D #261A5C #39288C #4C36BC #715ED1

Accessibility & contrast

On white

11.31
#39288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#39288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39288C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39288C#FFFFFF#000000##FFFFFF
##39288C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#094257
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39288c;
/* rgb */ color: rgb(57, 40, 140);
/* oklch */ color: oklch(36.6% 0.157 283.2);
Tailwind
colors: {
  custom: {
    50: '#7964af',
    500: '#39288c',
    950: '#000000',
  },
}
SCSS
$custom: #39288c;
$custom-light: #7964af;
$custom-dark: #000000;
JSON
{
  "hex": "#39288c",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 250.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36557,
    "c": 0.15651,
    "h": 283.2
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#39288C
secondary
#A6B65A
accent
#DF49C5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #39288C

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

Preview Lab → · Contrast checker → · Palette generator →

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