#391367#391367

#391367 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.135 H 298.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#391367
RGBrgb(57, 19, 103)
HSLhsl(267, 69%, 24%)
HSVhsv(267, 82%, 40%)
CMYKcmyk(44.7%, 81.6%, 0%, 59.6%)
CIE-LABlab(17.06, 36.60, -41.60)
CIE-LCHlch(17.06, 55.40, 311.34°)
OKLaboklab(30.16% 0.0639 -0.119)
OKLCHoklch(30.16% 0.135 298.2)
XYZxyz(4.3678, 2.3148, 13.0460)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391367 #416713
analogous
#131767 #391367 #631367
triadic
#391367 #673913 #136739
tetradic
#391367 #671317 #416713 #136763
square
#391367 #671317 #416713 #136763
split-complementary
#391367 #676313 #176713
monochromatic
#0E051A #1C0933 #391367 #561D9B #7226CE

Accessibility & contrast

On white

14.35
#391367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391367
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391367#FFFFFF#000000##FFFFFF
##3913671.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#2D2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391367;
/* rgb */ color: rgb(57, 19, 103);
/* oklch */ color: oklch(30.2% 0.135 298.2);
Tailwind
colors: {
  custom: {
    50: '#755693',
    500: '#391367',
    950: '#000000',
  },
}
SCSS
$custom: #391367;
$custom-light: #755693;
$custom-dark: #000000;
JSON
{
  "hex": "#391367",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 267.143,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3016,
    "c": 0.13511,
    "h": 298.2
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#391367
secondary
#709E37
accent
#EC3C9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391367

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

Preview Lab → · Contrast checker → · Palette generator →

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