#57417C#57417C

#57417C is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.097 H 299.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#57417C
RGBrgb(87, 65, 124)
HSLhsl(262, 31%, 37%)
HSVhsv(262, 48%, 49%)
CMYKcmyk(29.8%, 47.6%, 0%, 51.4%)
CIE-LABlab(32.40, 23.09, -30.19)
CIE-LCHlch(32.40, 38.01, 307.42°)
OKLaboklab(42.66% 0.0478 -0.0847)
OKLCHoklch(42.66% 0.097 299.5)
XYZxyz(9.4580, 7.2620, 19.9683)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57417C #667C41
analogous
#41497C #57417C #75417C
triadic
#57417C #7C5741 #417C57
tetradic
#57417C #7C4149 #667C41 #417C75
square
#57417C #7C4149 #667C41 #417C75
split-complementary
#57417C #7C7541 #497C41
monochromatic
#1F172C #3B2C54 #57417C #7356A4 #947DBB

Accessibility & contrast

On white

8.56
#57417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#57417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57417C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57417C#FFFFFF#000000##FFFFFF
##57417C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#504C58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #57417c;
/* rgb */ color: rgb(87, 65, 124);
/* oklch */ color: oklch(42.7% 0.097 299.5);
Tailwind
colors: {
  custom: {
    50: '#8876a2',
    500: '#57417c',
    950: '#000000',
  },
}
SCSS
$custom: #57417c;
$custom-light: #8876a2;
$custom-dark: #000000;
JSON
{
  "hex": "#57417c",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 262.373,
    "s": 31.217,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.09726,
    "h": 299.5
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#57417C
secondary
#93A573
accent
#C760A1
background
#F8F7FA
surface
#F0EDF3
border
#CBC8CD
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #57417C

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

Preview Lab → · Contrast checker → · Palette generator →

#57417C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva