#57308F#57308F

#57308F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.150 H 298.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#57308F
RGBrgb(87, 48, 143)
HSLhsl(265, 50%, 37%)
HSVhsv(265, 66%, 56%)
CMYKcmyk(39.2%, 66.4%, 0%, 43.9%)
CIE-LABlab(29.72, 38.53, -46.26)
CIE-LCHlch(29.72, 60.20, 309.79°)
OKLaboklab(41.09% 0.0713 -0.1318)
OKLCHoklch(41.09% 0.15 298.4)
XYZxyz(9.9441, 6.1232, 26.6393)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57308F #688F30
analogous
#30388F #57308F #87308F
triadic
#57308F #8F5730 #308F57
tetradic
#57308F #8F3038 #688F30 #308F87
square
#57308F #8F3038 #688F30 #308F87
split-complementary
#57308F #8F8730 #388F30
monochromatic
#1F1133 #3B2161 #57308F #733FBD #946CCE

Accessibility & contrast

On white

9.44
#57308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#57308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57308F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57308F#FFFFFF#000000##FFFFFF
##57308F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#4A465B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #57308f;
/* rgb */ color: rgb(87, 48, 143);
/* oklch */ color: oklch(41.1% 0.150 298.4);
Tailwind
colors: {
  custom: {
    50: '#8b6bb0',
    500: '#57308f',
    950: '#000000',
  },
}
SCSS
$custom: #57308f;
$custom-light: #8b6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#57308f",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 264.632,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.14981,
    "h": 298.4
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#57308F
secondary
#94B566
accent
#D94FA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #57308F

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

Preview Lab → · Contrast checker → · Palette generator →

#57308F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva