#574182#574182

#574182 is a dark, moderate violet. Relative luminance 0.074; OKLCH L 43.0% C 0.106 H 297.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#574182
RGBrgb(87, 65, 130)
HSLhsl(260, 33%, 38%)
HSVhsv(260, 50%, 51%)
CMYKcmyk(33.1%, 50%, 0%, 49%)
CIE-LABlab(32.74, 24.76, -33.37)
CIE-LCHlch(32.74, 41.55, 306.57°)
OKLaboklab(43.03% 0.0487 -0.094)
OKLCHoklch(43.03% 0.106 297.4)
XYZxyz(9.8491, 7.4184, 22.0278)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574182 #6C8241
analogous
#414B82 #574182 #774182
triadic
#574182 #825741 #418257
tetradic
#574182 #82414B #6C8241 #418277
square
#574182 #82414B #6C8241 #418277
split-complementary
#574182 #827741 #4B8241
monochromatic
#201830 #3C2D59 #574182 #7256AA #947FBF

Accessibility & contrast

On white

8.45
#574182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#574182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574182
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574182#FFFFFF#000000##FFFFFF
##5741821.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#4E4D5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #574182;
/* rgb */ color: rgb(87, 65, 130);
/* oklch */ color: oklch(43.0% 0.106 297.4);
Tailwind
colors: {
  custom: {
    50: '#8976a7',
    500: '#574182',
    950: '#000000',
  },
}
SCSS
$custom: #574182;
$custom-light: #8976a7;
$custom-dark: #000000;
JSON
{
  "hex": "#574182",
  "rgb": {
    "r": 87,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 260.308,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.10583,
    "h": 297.4
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#574182
secondary
#98A975
accent
#C95EA5
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #574182

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

Preview Lab → · Contrast checker → · Palette generator →

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