#391970#391970

#391970 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.139 H 293.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#391970
RGBrgb(57, 25, 112)
HSLhsl(262, 64%, 27%)
HSVhsv(262, 78%, 44%)
CMYKcmyk(49.1%, 77.7%, 0%, 56.1%)
CIE-LABlab(18.95, 36.19, -44.38)
CIE-LCHlch(18.95, 57.26, 309.20°)
OKLaboklab(31.75% 0.0558 -0.1272)
OKLCHoklch(31.75% 0.139 293.7)
XYZxyz(4.9588, 2.7348, 15.5927)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391970 #507019
analogous
#192570 #391970 #651970
triadic
#391970 #703919 #197039
tetradic
#391970 #701925 #507019 #197065
square
#391970 #701925 #507019 #197065
split-complementary
#391970 #706519 #257019
monochromatic
#0D0619 #200E3E #391970 #5224A2 #6D32D1

Accessibility & contrast

On white

13.57
#391970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391970
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391970#FFFFFF#000000##FFFFFF
##3919701.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#283043
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391970;
/* rgb */ color: rgb(57, 25, 112);
/* oklch */ color: oklch(31.8% 0.139 293.7);
Tailwind
colors: {
  custom: {
    50: '#76599a',
    500: '#391970',
    950: '#000000',
  },
}
SCSS
$custom: #391970;
$custom-light: #76599a;
$custom-dark: #000000;
JSON
{
  "hex": "#391970",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 262.069,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.13893,
    "h": 293.7
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#391970
secondary
#80A540
accent
#E741AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391970

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

Preview Lab → · Contrast checker → · Palette generator →

#391970 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva