#39115E#39115E

#39115E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.127 H 302.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#39115E
RGBrgb(57, 17, 94)
HSLhsl(271, 69%, 22%)
HSVhsv(271, 82%, 37%)
CMYKcmyk(39.4%, 81.9%, 0%, 63.1%)
CIE-LABlab(15.90, 35.09, -37.54)
CIE-LCHlch(15.90, 51.38, 313.07°)
OKLaboklab(29.09% 0.0684 -0.1071)
OKLCHoklch(29.09% 0.127 302.6)
XYZxyz(3.9077, 2.0789, 10.7829)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39115E #365E11
analogous
#13115E #39115E #5E115D
triadic
#39115E #5E3911 #115E39
tetradic
#39115E #5E1311 #365E11 #115D5E
square
#39115E #5E1311 #365E11 #115D5E
split-complementary
#39115E #5D5E11 #115E13
monochromatic
#10051A #1A082A #39115E #581A92 #7824C6

Accessibility & contrast

On white

14.83
#39115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#39115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39115E
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39115E#FFFFFF#000000##FFFFFF
##39115E1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#312537
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39115e;
/* rgb */ color: rgb(57, 17, 94);
/* oklch */ color: oklch(29.1% 0.127 302.6);
Tailwind
colors: {
  custom: {
    50: '#74548c',
    500: '#39115e',
    950: '#000000',
  },
}
SCSS
$custom: #39115e;
$custom-light: #74548c;
$custom-dark: #000000;
JSON
{
  "hex": "#39115e",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 271.169,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.12706,
    "h": 302.6
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#39115E
secondary
#639734
accent
#EC3C90
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #39115E

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

Preview Lab → · Contrast checker → · Palette generator →

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