#39185C#39185C

#39185C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.116 H 302.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#39185C
RGBrgb(57, 24, 92)
HSLhsl(269, 59%, 23%)
HSVhsv(269, 74%, 36%)
CMYKcmyk(38%, 73.9%, 0%, 63.9%)
CIE-LABlab(16.97, 31.01, -34.46)
CIE-LCHlch(16.97, 46.36, 311.99°)
OKLaboklab(29.79% 0.0613 -0.0981)
OKLCHoklch(29.79% 0.116 302)
XYZxyz(3.9453, 2.2958, 10.3584)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39185C #3B5C18
analogous
#18195C #39185C #5B185C
triadic
#39185C #5C3918 #185C39
tetradic
#39185C #5C1819 #3B5C18 #185C5B
square
#39185C #5C1819 #3B5C18 #185C5B
split-complementary
#39185C #5C5B18 #195C18
monochromatic
#0F0618 #1B0B2B #39185C #57258D #7531BD

Accessibility & contrast

On white

14.39
#39185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#39185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39185C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39185C#FFFFFF#000000##FFFFFF
##39185C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#322838
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39185c;
/* rgb */ color: rgb(57, 24, 92);
/* oklch */ color: oklch(29.8% 0.116 302.0);
Tailwind
colors: {
  custom: {
    50: '#73588b',
    500: '#39185c',
    950: '#000000',
  },
}
SCSS
$custom: #39185c;
$custom-light: #73588b;
$custom-dark: #000000;
JSON
{
  "hex": "#39185c",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 269.118,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29789,
    "c": 0.11564,
    "h": 302
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#39185C
secondary
#69933D
accent
#E24696
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39185C

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

Preview Lab → · Contrast checker → · Palette generator →

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