#39284C#39284C

#39284C is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.4% C 0.066 H 304.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#39284C
RGBrgb(57, 40, 76)
HSLhsl(268, 31%, 23%)
HSVhsv(268, 47%, 30%)
CMYKcmyk(25%, 47.4%, 0%, 70.2%)
CIE-LABlab(19.68, 16.44, -19.36)
CIE-LCHlch(19.68, 25.40, 310.33°)
OKLaboklab(31.42% 0.0373 -0.054)
OKLCHoklch(31.42% 0.066 304.7)
XYZxyz(3.7504, 2.9093, 7.2000)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39284C #3B4C28
analogous
#28294C #39284C #4B284C
triadic
#39284C #4C3928 #284C39
tetradic
#39284C #4C2829 #3B4C28 #284C4B
square
#39284C #4C2829 #3B4C28 #284C4B
split-complementary
#39284C #4C4B28 #294C28
monochromatic
#0F0B14 #1B1324 #39284C #573D74 #75529C

Accessibility & contrast

On white

13.28
#39284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39284C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39284C#FFFFFF#000000##FFFFFF
##39284C1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4D
Deuteranopia (green-blind)
#23304B
Tritanopia (blue-blind)
#362E36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39284c;
/* rgb */ color: rgb(57, 40, 76);
/* oklch */ color: oklch(31.4% 0.066 304.7);
Tailwind
colors: {
  custom: {
    50: '#70627e',
    500: '#39284c',
    950: '#000000',
  },
}
SCSS
$custom: #39284c;
$custom-light: #70627e;
$custom-dark: #000000;
JSON
{
  "hex": "#39284c",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 268.333,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31421,
    "c": 0.06563,
    "h": 304.7
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#39284C
secondary
#697E51
accent
#C76197
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #39284C

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

Preview Lab → · Contrast checker → · Palette generator →

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