#39256B#39256B

#39256B is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.1% C 0.116 H 292.0°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#39256B
RGBrgb(57, 37, 107)
HSLhsl(257, 49%, 28%)
HSVhsv(257, 65%, 42%)
CMYKcmyk(46.7%, 65.4%, 0%, 58%)
CIE-LABlab(21.04, 27.74, -37.74)
CIE-LCHlch(21.04, 46.84, 306.31°)
OKLaboklab(33.11% 0.0435 -0.1078)
OKLCHoklch(33.11% 0.116 292)
XYZxyz(5.0020, 3.2544, 14.2717)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39256B #576B25
analogous
#25346B #39256B #5C256B
triadic
#39256B #6B3925 #256B39
tetradic
#39256B #6B2534 #576B25 #256B5C
square
#39256B #6B2534 #576B25 #256B5C
split-complementary
#39256B #6B5C25 #346B25
monochromatic
#0C0817 #21153E #39256B #513598 #6C4AC0

Accessibility & contrast

On white

12.72
#39256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#39256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39256B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39256B#FFFFFF#000000##FFFFFF
##39256B1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#2B3544
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39256b;
/* rgb */ color: rgb(57, 37, 107);
/* oklch */ color: oklch(33.1% 0.116 292.0);
Tailwind
colors: {
  custom: {
    50: '#746096',
    500: '#39256b',
    950: '#000000',
  },
}
SCSS
$custom: #39256b;
$custom-light: #746096;
$custom-dark: #000000;
JSON
{
  "hex": "#39256b",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 257.143,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.11622,
    "h": 292
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#39256B
secondary
#879E4E
accent
#D850B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39256B

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

Preview Lab → · Contrast checker → · Palette generator →

#39256B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva