#39256A#39256A

#39256A is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.115 H 292.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#39256A
RGBrgb(57, 37, 106)
HSLhsl(257, 48%, 28%)
HSVhsv(257, 65%, 42%)
CMYKcmyk(46.2%, 65.1%, 0%, 58.4%)
CIE-LABlab(20.96, 27.43, -37.22)
CIE-LCHlch(20.96, 46.23, 306.39°)
OKLaboklab(33.03% 0.0436 -0.1062)
OKLCHoklch(33.03% 0.115 292.3)
XYZxyz(4.9497, 3.2334, 13.9962)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39256A #566A25
analogous
#25336A #39256A #5B256A
triadic
#39256A #6A3925 #256A39
tetradic
#39256A #6A2533 #566A25 #256A5B
square
#39256A #6A2533 #566A25 #256A5B
split-complementary
#39256A #6A5B25 #336A25
monochromatic
#0C0817 #21153D #39256A #513597 #6C4AC0

Accessibility & contrast

On white

12.75
#39256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39256A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39256A#FFFFFF#000000##FFFFFF
##39256A1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#2B3543
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #39256a;
/* rgb */ color: rgb(57, 37, 106);
/* oklch */ color: oklch(33.0% 0.115 292.3);
Tailwind
colors: {
  custom: {
    50: '#746095',
    500: '#39256a',
    950: '#000000',
  },
}
SCSS
$custom: #39256a;
$custom-light: #746095;
$custom-dark: #000000;
JSON
{
  "hex": "#39256a",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 257.391,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.11483,
    "h": 292.3
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#39256A
secondary
#869D4E
accent
#D850B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39256A

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

Preview Lab → · Contrast checker → · Palette generator →

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