#391965#391965

#391965 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.125 H 297.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#391965
RGBrgb(57, 25, 101)
HSLhsl(265, 60%, 25%)
HSVhsv(265, 75%, 40%)
CMYKcmyk(43.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(17.94, 33.01, -38.85)
CIE-LCHlch(17.94, 50.98, 310.36°)
OKLaboklab(30.72% 0.0584 -0.111)
OKLCHoklch(30.72% 0.125 297.8)
XYZxyz(4.3833, 2.5046, 12.5619)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391965 #456519
analogous
#191F65 #391965 #5F1965
triadic
#391965 #653919 #196539
tetradic
#391965 #65191F #456519 #19655F
square
#391965 #65191F #456519 #19655F
split-complementary
#391965 #655F19 #1F6519
monochromatic
#0E0619 #1D0D34 #391965 #552596 #7031C7

Accessibility & contrast

On white

13.99
#391965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391965
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391965#FFFFFF#000000##FFFFFF
##3919651.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2E2C3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391965;
/* rgb */ color: rgb(57, 25, 101);
/* oklch */ color: oklch(30.7% 0.125 297.8);
Tailwind
colors: {
  custom: {
    50: '#745992',
    500: '#391965',
    950: '#000000',
  },
}
SCSS
$custom: #391965;
$custom-light: #745992;
$custom-dark: #000000;
JSON
{
  "hex": "#391965",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 265.263,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30724,
    "c": 0.12542,
    "h": 297.8
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#391965
secondary
#749B3F
accent
#E344A0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391965

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

Preview Lab → · Contrast checker → · Palette generator →

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