#39288A#39288A

#39288A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.154 H 283.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#39288A
RGBrgb(57, 40, 138)
HSLhsl(250, 55%, 35%)
HSVhsv(250, 71%, 54%)
CMYKcmyk(58.7%, 71%, 0%, 45.9%)
CIE-LABlab(24.39, 35.80, -51.98)
CIE-LCHlch(24.39, 63.11, 304.56°)
OKLaboklab(36.37% 0.0362 -0.1496)
OKLCHoklch(36.37% 0.154 283.6)
XYZxyz(7.0322, 4.2220, 24.4842)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39288A #798A28
analogous
#28488A #39288A #6A288A
triadic
#39288A #8A3928 #288A39
tetradic
#39288A #8A2848 #798A28 #288A6A
square
#39288A #8A2848 #798A28 #288A6A
split-complementary
#39288A #8A6A28 #488A28
monochromatic
#120C2B #251A5B #39288A #4D36B9 #715DD0

Accessibility & contrast

On white

11.39
#39288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#39288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39288A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39288A#FFFFFF#000000##FFFFFF
##39288A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#0E4256
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39288a;
/* rgb */ color: rgb(57, 40, 138);
/* oklch */ color: oklch(36.4% 0.154 283.6);
Tailwind
colors: {
  custom: {
    50: '#7963ad',
    500: '#39288a',
    950: '#000000',
  },
}
SCSS
$custom: #39288a;
$custom-light: #7963ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39288a",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 250.408,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.15391,
    "h": 283.6
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#39288A
secondary
#A5B559
accent
#DE49C5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #39288A

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

Preview Lab → · Contrast checker → · Palette generator →

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