#57368B#57368B

#57368B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.136 H 298.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#57368B
RGBrgb(87, 54, 139)
HSLhsl(263, 44%, 38%)
HSVhsv(263, 61%, 55%)
CMYKcmyk(37.4%, 61.2%, 0%, 45.5%)
CIE-LABlab(30.71, 33.99, -42.20)
CIE-LCHlch(30.71, 54.18, 308.85°)
OKLaboklab(41.71% 0.0642 -0.1198)
OKLCHoklch(41.71% 0.136 298.2)
XYZxyz(9.9087, 6.5285, 25.1592)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57368B #6A8B36
analogous
#36408B #57368B #81368B
triadic
#57368B #8B5736 #368B57
tetradic
#57368B #8B3640 #6A8B36 #368B81
square
#57368B #8B3640 #6A8B36 #368B81
split-complementary
#57368B #8B8136 #408B36
monochromatic
#201433 #3B255F #57368B #7347B7 #9473C9

Accessibility & contrast

On white

9.11
#57368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#57368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57368B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57368B#FFFFFF#000000##FFFFFF
##57368B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488E
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#4B485B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #57368b;
/* rgb */ color: rgb(87, 54, 139);
/* oklch */ color: oklch(41.7% 0.136 298.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ead',
    500: '#57368b',
    950: '#000000',
  },
}
SCSS
$custom: #57368b;
$custom-light: #8a6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#57368b",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 263.294,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.13593,
    "h": 298.2
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#57368B
secondary
#96B16C
accent
#D454A2
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57368B

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

Preview Lab → · Contrast checker → · Palette generator →

#57368B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva