#39246F#39246F

#39246F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.3% C 0.123 H 291.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#39246F
RGBrgb(57, 36, 111)
HSLhsl(257, 51%, 29%)
HSVhsv(257, 68%, 44%)
CMYKcmyk(48.6%, 67.6%, 0%, 56.5%)
CIE-LABlab(21.13, 29.61, -40.18)
CIE-LCHlch(21.13, 49.91, 306.39°)
OKLaboklab(33.28% 0.0443 -0.1149)
OKLCHoklch(33.28% 0.123 291.1)
XYZxyz(5.1867, 3.2791, 15.3955)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39246F #5A6F24
analogous
#24356F #39246F #5F246F
triadic
#39246F #6F3924 #246F39
tetradic
#39246F #6F2435 #5A6F24 #246F5F
square
#39246F #6F2435 #5A6F24 #246F5F
split-complementary
#39246F #6F5F24 #356F24
monochromatic
#0C0717 #211541 #39246F #51339D #6C49C4

Accessibility & contrast

On white

12.68
#39246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#39246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39246F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39246F#FFFFFF#000000##FFFFFF
##39246F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39246f;
/* rgb */ color: rgb(57, 36, 111);
/* oklch */ color: oklch(33.3% 0.123 291.1);
Tailwind
colors: {
  custom: {
    50: '#756099',
    500: '#39246f',
    950: '#000000',
  },
}
SCSS
$custom: #39246f;
$custom-light: #756099;
$custom-dark: #000000;
JSON
{
  "hex": "#39246f",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 256.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3328,
    "c": 0.12319,
    "h": 291.1
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#39246F
secondary
#8AA24D
accent
#DA4DB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39246F

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

Preview Lab → · Contrast checker → · Palette generator →

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