#39175F#39175F

#39175F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.121 H 300.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#39175F
RGBrgb(57, 23, 95)
HSLhsl(268, 61%, 23%)
HSVhsv(268, 76%, 37%)
CMYKcmyk(40%, 75.8%, 0%, 62.7%)
CIE-LABlab(17.03, 32.39, -36.36)
CIE-LCHlch(17.03, 48.69, 311.70°)
OKLaboklab(29.91% 0.0619 -0.1037)
OKLCHoklch(29.91% 0.121 300.8)
XYZxyz(4.0588, 2.3088, 11.0561)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39175F #3D5F17
analogous
#17195F #39175F #5D175F
triadic
#39175F #5F3917 #175F39
tetradic
#39175F #5F1719 #3D5F17 #175F5D
square
#39175F #5F1719 #3D5F17 #175F5D
split-complementary
#39175F #5F5D17 #195F17
monochromatic
#0F0619 #1B0B2E #39175F #572390 #742FC2

Accessibility & contrast

On white

14.37
#39175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#39175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39175F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39175F#FFFFFF#000000##FFFFFF
##39175F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39175f;
/* rgb */ color: rgb(57, 23, 95);
/* oklch */ color: oklch(29.9% 0.121 300.8);
Tailwind
colors: {
  custom: {
    50: '#73578d',
    500: '#39175f',
    950: '#000000',
  },
}
SCSS
$custom: #39175f;
$custom-light: #73578d;
$custom-dark: #000000;
JSON
{
  "hex": "#39175f",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 268.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29914,
    "c": 0.12071,
    "h": 300.8
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#39175F
secondary
#6B963C
accent
#E44498
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39175F

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

Preview Lab → · Contrast checker → · Palette generator →

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