#39277F#39277F

#39277F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.141 H 286.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#39277F
RGBrgb(57, 39, 127)
HSLhsl(252, 53%, 33%)
HSVhsv(252, 69%, 50%)
CMYKcmyk(55.1%, 69.3%, 0%, 50.2%)
CIE-LABlab(23.18, 32.86, -47.06)
CIE-LCHlch(23.18, 57.39, 304.92°)
OKLaboklab(35.19% 0.0389 -0.1352)
OKLCHoklch(35.19% 0.141 286.1)
XYZxyz(6.2425, 3.8529, 20.4893)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39277F #6D7F27
analogous
#27417F #39277F #65277F
triadic
#39277F #7F3927 #277F39
tetradic
#39277F #7F2741 #6D7F27 #277F65
square
#39277F #7F2741 #6D7F27 #277F65
split-complementary
#39277F #7F6527 #417F27
monochromatic
#0F0A21 #241950 #39277F #4E35AE #6D55CB

Accessibility & contrast

On white

11.86
#39277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39277F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39277F#FFFFFF#000000##FFFFFF
##39277F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#1C3D4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39277f;
/* rgb */ color: rgb(57, 39, 127);
/* oklch */ color: oklch(35.2% 0.141 286.1);
Tailwind
colors: {
  custom: {
    50: '#7762a5',
    500: '#39277f',
    950: '#000000',
  },
}
SCSS
$custom: #39277f;
$custom-light: #7762a5;
$custom-dark: #000000;
JSON
{
  "hex": "#39277f",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 252.273,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35189,
    "c": 0.14067,
    "h": 286.1
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#39277F
secondary
#9DB052
accent
#DC4BBF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39277F

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

Preview Lab → · Contrast checker → · Palette generator →

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