#39196F#39196F

#39196F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.138 H 294.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#39196F
RGBrgb(57, 25, 111)
HSLhsl(262, 63%, 27%)
HSVhsv(262, 77%, 44%)
CMYKcmyk(48.6%, 77.5%, 0%, 56.5%)
CIE-LABlab(18.85, 35.90, -43.89)
CIE-LCHlch(18.85, 56.70, 309.28°)
OKLaboklab(31.66% 0.056 -0.1258)
OKLCHoklch(31.66% 0.138 294)
XYZxyz(4.9034, 2.7127, 15.3011)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39196F #4F6F19
analogous
#19246F #39196F #64196F
triadic
#39196F #6F3919 #196F39
tetradic
#39196F #6F1924 #4F6F19 #196F64
square
#39196F #6F1924 #4F6F19 #196F64
split-complementary
#39196F #6F6419 #246F19
monochromatic
#0D0619 #1F0E3D #39196F #5324A1 #6D32D1

Accessibility & contrast

On white

13.61
#39196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#39196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39196F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39196F#FFFFFF#000000##FFFFFF
##39196F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#293042
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39196f;
/* rgb */ color: rgb(57, 25, 111);
/* oklch */ color: oklch(31.7% 0.138 294.0);
Tailwind
colors: {
  custom: {
    50: '#755999',
    500: '#39196f',
    950: '#000000',
  },
}
SCSS
$custom: #39196f;
$custom-light: #755999;
$custom-dark: #000000;
JSON
{
  "hex": "#39196f",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 262.326,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.13772,
    "h": 294
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#39196F
secondary
#7FA43F
accent
#E642A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #39196F

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

Preview Lab → · Contrast checker → · Palette generator →

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