#39185F#39185F

#39185F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.1% C 0.119 H 300.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#39185F
RGBrgb(57, 24, 95)
HSLhsl(268, 60%, 23%)
HSVhsv(268, 75%, 37%)
CMYKcmyk(40%, 74.7%, 0%, 62.7%)
CIE-LABlab(17.22, 31.85, -36.04)
CIE-LCHlch(17.22, 48.10, 311.47°)
OKLaboklab(30.05% 0.0607 -0.1027)
OKLCHoklch(30.05% 0.119 300.6)
XYZxyz(4.0790, 2.3493, 11.0628)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39185F #3E5F18
analogous
#181A5F #39185F #5C185F
triadic
#39185F #5F3918 #185F39
tetradic
#39185F #5F181A #3E5F18 #185F5C
square
#39185F #5F181A #3E5F18 #185F5C
split-complementary
#39185F #5F5C18 #1A5F18
monochromatic
#0F0618 #1C0C2E #39185F #562490 #7431C1

Accessibility & contrast

On white

14.29
#39185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#39185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39185F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39185F#FFFFFF#000000##FFFFFF
##39185F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#312939
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39185f;
/* rgb */ color: rgb(57, 24, 95);
/* oklch */ color: oklch(30.1% 0.119 300.6);
Tailwind
colors: {
  custom: {
    50: '#73588d',
    500: '#39185f',
    950: '#000000',
  },
}
SCSS
$custom: #39185f;
$custom-light: #73588d;
$custom-dark: #000000;
JSON
{
  "hex": "#39185f",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 267.887,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30051,
    "c": 0.11935,
    "h": 300.6
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#39185F
secondary
#6C953D
accent
#E34599
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39185F

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

Preview Lab → · Contrast checker → · Palette generator →

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