#39185E#39185E

#39185E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.0% C 0.118 H 301.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#39185E
RGBrgb(57, 24, 94)
HSLhsl(268, 59%, 23%)
HSVhsv(268, 74%, 37%)
CMYKcmyk(39.4%, 74.5%, 0%, 63.1%)
CIE-LABlab(17.14, 31.57, -35.52)
CIE-LCHlch(17.14, 47.52, 311.63°)
OKLaboklab(29.96% 0.0609 -0.1012)
OKLCHoklch(29.96% 0.118 301)
XYZxyz(4.0339, 2.3313, 10.8250)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39185E #3D5E18
analogous
#181A5E #39185E #5C185E
triadic
#39185E #5E3918 #185E39
tetradic
#39185E #5E181A #3D5E18 #185E5C
square
#39185E #5E181A #3D5E18 #185E5C
split-complementary
#39185E #5E5C18 #1A5E18
monochromatic
#0F0618 #1B0C2D #39185E #57248F #7431C0

Accessibility & contrast

On white

14.32
#39185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39185E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39185E#FFFFFF#000000##FFFFFF
##39185E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39185e;
/* rgb */ color: rgb(57, 24, 94);
/* oklch */ color: oklch(30.0% 0.118 301.0);
Tailwind
colors: {
  custom: {
    50: '#73588c',
    500: '#39185e',
    950: '#000000',
  },
}
SCSS
$custom: #39185e;
$custom-light: #73588c;
$custom-dark: #000000;
JSON
{
  "hex": "#39185e",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 268.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29963,
    "c": 0.11811,
    "h": 301
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#39185E
secondary
#6B943D
accent
#E34598
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39185E

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

Preview Lab → · Contrast checker → · Palette generator →

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