#39124F#39124F

#39124F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.109 H 310.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#39124F
RGBrgb(57, 18, 79)
HSLhsl(278, 63%, 19%)
HSVhsv(278, 77%, 31%)
CMYKcmyk(27.8%, 77.2%, 0%, 69%)
CIE-LABlab(14.77, 30.71, -29.22)
CIE-LCHlch(14.77, 42.39, 316.42°)
OKLaboklab(27.89% 0.0705 -0.0827)
OKLCHoklch(27.89% 0.109 310.5)
XYZxyz(3.3147, 1.8671, 7.5814)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39124F #284F12
analogous
#1B124F #39124F #4F1247
triadic
#39124F #4F3912 #124F39
tetradic
#39124F #4F1B12 #284F12 #12474F
square
#39124F #4F1B12 #284F12 #12474F
split-complementary
#39124F #474F12 #124F1B
monochromatic
#120619 #15071D #39124F #5D1D81 #8129B3

Accessibility & contrast

On white

15.29
#39124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#39124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39124F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39124F#FFFFFF#000000##FFFFFF
##39124F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#08264E
Tritanopia (blue-blind)
#361F2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #39124f;
/* rgb */ color: rgb(57, 18, 79);
/* oklch */ color: oklch(27.9% 0.109 310.5);
Tailwind
colors: {
  custom: {
    50: '#725481',
    500: '#39124f',
    950: '#000000',
  },
}
SCSS
$custom: #39124f;
$custom-light: #725481;
$custom-dark: #000000;
JSON
{
  "hex": "#39124f",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 278.361,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27887,
    "c": 0.10866,
    "h": 310.5
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#39124F
secondary
#538835
accent
#E6427D
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39124F

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

Preview Lab → · Contrast checker → · Palette generator →

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