#391368#391368

#391368 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.136 H 297.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#391368
RGBrgb(57, 19, 104)
HSLhsl(267, 69%, 24%)
HSVhsv(267, 82%, 41%)
CMYKcmyk(45.2%, 81.7%, 0%, 59.2%)
CIE-LABlab(17.16, 36.87, -42.10)
CIE-LCHlch(17.16, 55.96, 311.21°)
OKLaboklab(30.26% 0.0636 -0.1205)
OKLCHoklch(30.26% 0.136 297.8)
XYZxyz(4.4183, 2.3350, 13.3119)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391368 #426813
analogous
#131768 #391368 #641368
triadic
#391368 #683913 #136839
tetradic
#391368 #681317 #426813 #136864
square
#391368 #681317 #426813 #136864
split-complementary
#391368 #686413 #176813
monochromatic
#0E051A #1D0A34 #391368 #551C9C #7226CF

Accessibility & contrast

On white

14.31
#391368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391368
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391368#FFFFFF#000000##FFFFFF
##3913681.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#2D2A3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391368;
/* rgb */ color: rgb(57, 19, 104);
/* oklch */ color: oklch(30.3% 0.136 297.8);
Tailwind
colors: {
  custom: {
    50: '#755694',
    500: '#391368',
    950: '#000000',
  },
}
SCSS
$custom: #391368;
$custom-light: #755694;
$custom-dark: #000000;
JSON
{
  "hex": "#391368",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 266.824,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.13625,
    "h": 297.8
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#391368
secondary
#719F37
accent
#EC3C9D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391368

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

Preview Lab → · Contrast checker → · Palette generator →

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