#39284E#39284E

#39284E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.5% C 0.069 H 303.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#39284E
RGBrgb(57, 40, 78)
HSLhsl(267, 32%, 23%)
HSVhsv(267, 49%, 31%)
CMYKcmyk(26.9%, 48.7%, 0%, 69.4%)
CIE-LABlab(19.79, 17.01, -20.54)
CIE-LCHlch(19.79, 26.66, 309.63°)
OKLaboklab(31.55% 0.0377 -0.0574)
OKLCHoklch(31.55% 0.069 303.3)
XYZxyz(3.8210, 2.9375, 7.5719)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39284E #3D4E28
analogous
#282A4E #39284E #4C284E
triadic
#39284E #4E3928 #284E39
tetradic
#39284E #4E282A #3D4E28 #284E4C
square
#39284E #4E282A #3D4E28 #284E4C
split-complementary
#39284E #4E4C28 #2A4E28
monochromatic
#0F0A14 #1B1326 #39284E #573D76 #74519F

Accessibility & contrast

On white

13.23
#39284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39284E
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39284E#FFFFFF#000000##FFFFFF
##39284E1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#352E37
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39284e;
/* rgb */ color: rgb(57, 40, 78);
/* oklch */ color: oklch(31.5% 0.069 303.3);
Tailwind
colors: {
  custom: {
    50: '#706280',
    500: '#39284e',
    950: '#000000',
  },
}
SCSS
$custom: #39284e;
$custom-light: #706280;
$custom-dark: #000000;
JSON
{
  "hex": "#39284e",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 266.842,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31545,
    "c": 0.06866,
    "h": 303.3
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#39284E
secondary
#6B8151
accent
#C85F99
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #39284E

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

Preview Lab → · Contrast checker → · Palette generator →

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