#39284F#39284F

#39284F is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.6% C 0.070 H 302.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#39284F
RGBrgb(57, 40, 79)
HSLhsl(266, 33%, 23%)
HSVhsv(266, 49%, 31%)
CMYKcmyk(27.8%, 49.4%, 0%, 69%)
CIE-LABlab(19.85, 17.29, -21.12)
CIE-LCHlch(19.85, 27.29, 309.31°)
OKLaboklab(31.61% 0.0379 -0.0591)
OKLCHoklch(31.61% 0.07 302.7)
XYZxyz(3.8571, 2.9520, 7.7622)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39284F #3E4F28
analogous
#282A4F #39284F #4C284F
triadic
#39284F #4F3928 #284F39
tetradic
#39284F #4F282A #3E4F28 #284F4C
square
#39284F #4F282A #3E4F28 #284F4C
split-complementary
#39284F #4F4C28 #2A4F28
monochromatic
#0F0A14 #1C1326 #39284F #563D78 #7451A0

Accessibility & contrast

On white

13.20
#39284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#39284F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39284F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39284F#FFFFFF#000000##FFFFFF
##39284F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3050
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#352F37
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39284f;
/* rgb */ color: rgb(57, 40, 79);
/* oklch */ color: oklch(31.6% 0.070 302.7);
Tailwind
colors: {
  custom: {
    50: '#706280',
    500: '#39284f',
    950: '#000000',
  },
}
SCSS
$custom: #39284f;
$custom-light: #706280;
$custom-dark: #000000;
JSON
{
  "hex": "#39284f",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 266.154,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31609,
    "c": 0.07018,
    "h": 302.7
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#39284F
secondary
#6C8251
accent
#C95F9B
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #39284F

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

Preview Lab → · Contrast checker → · Palette generator →

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