#39278A#39278A

#39278A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.155 H 283.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#39278A
RGBrgb(57, 39, 138)
HSLhsl(251, 56%, 35%)
HSVhsv(251, 72%, 54%)
CMYKcmyk(58.7%, 71.7%, 0%, 45.9%)
CIE-LABlab(24.18, 36.39, -52.33)
CIE-LCHlch(24.18, 63.74, 304.81°)
OKLaboklab(36.21% 0.0371 -0.1506)
OKLCHoklch(36.21% 0.155 283.8)
XYZxyz(6.9989, 4.1554, 24.4731)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39278A #788A27
analogous
#27478A #39278A #6B278A
triadic
#39278A #8A3927 #278A39
tetradic
#39278A #8A2747 #788A27 #278A6B
square
#39278A #8A2747 #788A27 #278A6B
split-complementary
#39278A #8A6B27 #478A27
monochromatic
#120C2B #251A5A #39278A #4D34BA #705BD1

Accessibility & contrast

On white

11.47
#39278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#39278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39278A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39278A#FFFFFF#000000##FFFFFF
##39278A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#0E4155
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39278a;
/* rgb */ color: rgb(57, 39, 138);
/* oklch */ color: oklch(36.2% 0.155 283.8);
Tailwind
colors: {
  custom: {
    50: '#7963ad',
    500: '#39278a',
    950: '#000000',
  },
}
SCSS
$custom: #39278a;
$custom-light: #7963ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39278a",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 250.909,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36214,
    "c": 0.15511,
    "h": 283.8
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#39278A
secondary
#A4B657
accent
#DF49C4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39278A

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

Preview Lab → · Contrast checker → · Palette generator →

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