#39277E#39277E

#39277E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.139 H 286.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#39277E
RGBrgb(57, 39, 126)
HSLhsl(252, 53%, 32%)
HSVhsv(252, 69%, 49%)
CMYKcmyk(54.8%, 69%, 0%, 50.6%)
CIE-LABlab(23.09, 32.54, -46.57)
CIE-LCHlch(23.09, 56.81, 304.94°)
OKLaboklab(35.1% 0.0391 -0.1337)
OKLCHoklch(35.1% 0.139 286.3)
XYZxyz(6.1776, 3.8269, 20.1478)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39277E #6C7E27
analogous
#27407E #39277E #65277E
triadic
#39277E #7E3927 #277E39
tetradic
#39277E #7E2740 #6C7E27 #277E65
square
#39277E #7E2740 #6C7E27 #277E65
split-complementary
#39277E #7E6527 #407E27
monochromatic
#0F0A21 #24194F #39277E #4E35AD #6D55CA

Accessibility & contrast

On white

11.90
#39277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#39277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39277E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39277E#FFFFFF#000000##FFFFFF
##39277E1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#1D3D4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39277e;
/* rgb */ color: rgb(57, 39, 126);
/* oklch */ color: oklch(35.1% 0.139 286.3);
Tailwind
colors: {
  custom: {
    50: '#7762a4',
    500: '#39277e',
    950: '#000000',
  },
}
SCSS
$custom: #39277e;
$custom-light: #7762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39277e",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 252.414,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.13933,
    "h": 286.3
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#39277E
secondary
#9CAF52
accent
#DC4CBE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39277E

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

Preview Lab → · Contrast checker → · Palette generator →

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