#39256E#39256E

#39256E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.4% C 0.120 H 291.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#39256E
RGBrgb(57, 37, 110)
HSLhsl(256, 50%, 29%)
HSVhsv(256, 66%, 43%)
CMYKcmyk(48.2%, 66.4%, 0%, 56.9%)
CIE-LABlab(21.28, 28.68, -39.29)
CIE-LCHlch(21.28, 48.64, 306.13°)
OKLaboklab(33.36% 0.0432 -0.1123)
OKLCHoklch(33.36% 0.12 291.1)
XYZxyz(5.1626, 3.3186, 15.1174)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39256E #5A6E25
analogous
#25366E #39256E #5E256E
triadic
#39256E #6E3925 #256E39
tetradic
#39256E #6E2536 #5A6E25 #256E5E
square
#39256E #6E2536 #5A6E25 #256E5E
split-complementary
#39256E #6E5E25 #366E25
monochromatic
#0C0817 #211640 #39256E #51349C #6C4BC2

Accessibility & contrast

On white

12.62
#39256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#39256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39256E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39256E#FFFFFF#000000##FFFFFF
##39256E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#293645
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39256e;
/* rgb */ color: rgb(57, 37, 110);
/* oklch */ color: oklch(33.4% 0.120 291.1);
Tailwind
colors: {
  custom: {
    50: '#746198',
    500: '#39256e',
    950: '#000000',
  },
}
SCSS
$custom: #39256e;
$custom-light: #746198;
$custom-dark: #000000;
JSON
{
  "hex": "#39256e",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 256.438,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33362,
    "c": 0.12038,
    "h": 291.1
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#39256E
secondary
#8AA14E
accent
#D94FB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39256E

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

Preview Lab → · Contrast checker → · Palette generator →

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