#39277C#39277C

#39277C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.137 H 286.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#39277C
RGBrgb(57, 39, 124)
HSLhsl(253, 52%, 32%)
HSVhsv(253, 69%, 49%)
CMYKcmyk(54%, 68.5%, 0%, 51.4%)
CIE-LABlab(22.92, 31.90, -45.59)
CIE-LCHlch(22.92, 55.64, 304.98°)
OKLaboklab(34.92% 0.0394 -0.1308)
OKLCHoklch(34.92% 0.137 286.7)
XYZxyz(6.0499, 3.7758, 19.4749)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39277C #6A7C27
analogous
#27407C #39277C #64277C
triadic
#39277C #7C3927 #277C39
tetradic
#39277C #7C2740 #6A7C27 #277C64
square
#39277C #7C2740 #6A7C27 #277C64
split-complementary
#39277C #7C6427 #407C27
monochromatic
#0E0A1F #24184D #39277C #4E36AB #6D54C9

Accessibility & contrast

On white

11.96
#39277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#39277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39277C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39277C#FFFFFF#000000##FFFFFF
##39277C1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#1F3C4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39277c;
/* rgb */ color: rgb(57, 39, 124);
/* oklch */ color: oklch(34.9% 0.137 286.7);
Tailwind
colors: {
  custom: {
    50: '#7662a3',
    500: '#39277c',
    950: '#000000',
  },
}
SCSS
$custom: #39277c;
$custom-light: #7662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39277c",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 252.706,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34918,
    "c": 0.13664,
    "h": 286.7
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#39277C
secondary
#9AAE51
accent
#DC4CBD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39277C

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

Preview Lab → · Contrast checker → · Palette generator →

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