#39256F#39256F

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

Color values

HEX#39256F
RGBrgb(57, 37, 111)
HSLhsl(256, 50%, 29%)
HSVhsv(256, 67%, 44%)
CMYKcmyk(48.6%, 66.7%, 0%, 56.5%)
CIE-LABlab(21.36, 28.99, -39.80)
CIE-LCHlch(21.36, 49.24, 306.07°)
OKLaboklab(33.45% 0.0432 -0.1138)
OKLCHoklch(33.45% 0.122 290.8)
XYZxyz(5.2173, 3.3405, 15.4057)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39256F #5B6F25
analogous
#25366F #39256F #5E256F
triadic
#39256F #6F3925 #256F39
tetradic
#39256F #6F2536 #5B6F25 #256F5E
square
#39256F #6F2536 #5B6F25 #256F5E
split-complementary
#39256F #6F5E25 #366F25
monochromatic
#0C0817 #211641 #39256F #51349D #6C4BC3

Accessibility & contrast

On white

12.59
#39256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#39256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39256F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39256F#FFFFFF#000000##FFFFFF
##39256F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#283646
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39256f;
/* rgb */ color: rgb(57, 37, 111);
/* oklch */ color: oklch(33.4% 0.122 290.8);
Tailwind
colors: {
  custom: {
    50: '#746199',
    500: '#39256f',
    950: '#000000',
  },
}
SCSS
$custom: #39256f;
$custom-light: #746199;
$custom-dark: #000000;
JSON
{
  "hex": "#39256f",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 256.216,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.12175,
    "h": 290.8
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#39256F
secondary
#8BA24E
accent
#DA4EB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39256F

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

Preview Lab → · Contrast checker → · Palette generator →

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