#39278B#39278B

#39278B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.156 H 283.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#39278B
RGBrgb(57, 39, 139)
HSLhsl(251, 56%, 35%)
HSVhsv(251, 72%, 55%)
CMYKcmyk(59%, 71.9%, 0%, 45.5%)
CIE-LABlab(24.27, 36.71, -52.80)
CIE-LCHlch(24.27, 64.30, 304.81°)
OKLaboklab(36.31% 0.0369 -0.152)
OKLCHoklch(36.31% 0.156 283.6)
XYZxyz(7.0716, 4.1845, 24.8562)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39278B #798B27
analogous
#27478B #39278B #6B278B
triadic
#39278B #8B3927 #278B39
tetradic
#39278B #8B2747 #798B27 #278B6B
square
#39278B #8B2747 #798B27 #278B6B
split-complementary
#39278B #8B6B27 #478B27
monochromatic
#120C2B #251A5B #39278B #4D34BB #715BD1

Accessibility & contrast

On white

11.43
#39278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#39278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39278B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39278B#FFFFFF#000000##FFFFFF
##39278B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#0C4256
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39278b;
/* rgb */ color: rgb(57, 39, 139);
/* oklch */ color: oklch(36.3% 0.156 283.6);
Tailwind
colors: {
  custom: {
    50: '#7963ae',
    500: '#39278b',
    950: '#000000',
  },
}
SCSS
$custom: #39278b;
$custom-light: #7963ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39278b",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 250.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.15641,
    "h": 283.6
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#39278B
secondary
#A5B658
accent
#DF48C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #39278B

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

Preview Lab → · Contrast checker → · Palette generator →

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