#39284A#39284A

#39284A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.3% C 0.063 H 306.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#39284A
RGBrgb(57, 40, 74)
HSLhsl(270, 30%, 22%)
HSVhsv(270, 46%, 29%)
CMYKcmyk(23%, 45.9%, 0%, 71%)
CIE-LABlab(19.56, 15.88, -18.18)
CIE-LCHlch(19.56, 24.15, 311.14°)
OKLaboklab(31.3% 0.0369 -0.0506)
OKLCHoklch(31.3% 0.063 306.1)
XYZxyz(3.6819, 2.8819, 6.8395)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39284A #394A28
analogous
#28284A #39284A #4A284A
triadic
#39284A #4A3928 #284A39
tetradic
#39284A #4A2828 #394A28 #284A4A
square
#39284A #4A2828 #394A28 #284A4A
split-complementary
#39284A #4A4A28 #284A28
monochromatic
#0F0B14 #1A1322 #39284A #583D72 #765399

Accessibility & contrast

On white

13.32
#39284A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#39284A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39284A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39284A#FFFFFF#000000##FFFFFF
##39284A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202F4B
Deuteranopia (green-blind)
#242F49
Tritanopia (blue-blind)
#362D35
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39284a;
/* rgb */ color: rgb(57, 40, 74);
/* oklch */ color: oklch(31.3% 0.063 306.1);
Tailwind
colors: {
  custom: {
    50: '#70627c',
    500: '#39284a',
    950: '#000000',
  },
}
SCSS
$custom: #39284a;
$custom-light: #70627c;
$custom-dark: #000000;
JSON
{
  "hex": "#39284a",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 270,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.313,
    "c": 0.0626,
    "h": 306.1
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#39284A
secondary
#677C51
accent
#C66294
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#070509
muted
#7A797B

Preview Lab

Preview with #39284A

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

Preview Lab → · Contrast checker → · Palette generator →

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