#39185A#39185A

#39185A is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.113 H 303.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#39185A
RGBrgb(57, 24, 90)
HSLhsl(270, 58%, 22%)
HSVhsv(270, 73%, 35%)
CMYKcmyk(36.7%, 73.3%, 0%, 64.7%)
CIE-LABlab(16.80, 30.46, -33.39)
CIE-LCHlch(16.80, 45.19, 312.37°)
OKLaboklab(29.62% 0.0616 -0.095)
OKLCHoklch(29.62% 0.113 303)
XYZxyz(3.8590, 2.2613, 9.9040)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39185A #395A18
analogous
#18185A #39185A #5A185A
triadic
#39185A #5A3918 #185A39
tetradic
#39185A #5A1818 #395A18 #185A5A
square
#39185A #5A1818 #395A18 #185A5A
split-complementary
#39185A #5A5A18 #185A18
monochromatic
#0F0618 #1A0B2A #39185A #58258A #7632BB

Accessibility & contrast

On white

14.46
#39185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#39185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39185A
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39185A#FFFFFF#000000##FFFFFF
##39185A1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#322737
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39185a;
/* rgb */ color: rgb(57, 24, 90);
/* oklch */ color: oklch(29.6% 0.113 303.0);
Tailwind
colors: {
  custom: {
    50: '#735889',
    500: '#39185a',
    950: '#000000',
  },
}
SCSS
$custom: #39185a;
$custom-light: #735889;
$custom-dark: #000000;
JSON
{
  "hex": "#39185a",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 270,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29618,
    "c": 0.11316,
    "h": 303
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#39185A
secondary
#67913D
accent
#E14794
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39185A

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

Preview Lab → · Contrast checker → · Palette generator →

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