#39277B#39277B

#39277B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.8% C 0.135 H 287.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#39277B
RGBrgb(57, 39, 123)
HSLhsl(253, 52%, 32%)
HSVhsv(253, 68%, 48%)
CMYKcmyk(53.7%, 68.3%, 0%, 51.8%)
CIE-LABlab(22.83, 31.57, -45.10)
CIE-LCHlch(22.83, 55.05, 305.00°)
OKLaboklab(34.83% 0.0395 -0.1294)
OKLCHoklch(34.83% 0.135 287)
XYZxyz(5.9870, 3.7507, 19.1435)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39277B #697B27
analogous
#273F7B #39277B #63277B
triadic
#39277B #7B3927 #277B39
tetradic
#39277B #7B273F #697B27 #277B63
square
#39277B #7B273F #697B27 #277B63
split-complementary
#39277B #7B6327 #3F7B27
monochromatic
#0E0A1E #23184D #39277B #4F36A9 #6D54C9

Accessibility & contrast

On white

12.00
#39277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#39277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39277B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39277B#FFFFFF#000000##FFFFFF
##39277B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#203C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39277b;
/* rgb */ color: rgb(57, 39, 123);
/* oklch */ color: oklch(34.8% 0.135 287.0);
Tailwind
colors: {
  custom: {
    50: '#7662a2',
    500: '#39277b',
    950: '#000000',
  },
}
SCSS
$custom: #39277b;
$custom-light: #7662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39277b",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 252.857,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.1353,
    "h": 287
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#39277B
secondary
#99AD51
accent
#DB4CBD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39277B

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

Preview Lab → · Contrast checker → · Palette generator →

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