#57339F#57339F

#57339F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.165 H 293.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#57339F
RGBrgb(87, 51, 159)
HSLhsl(260, 51%, 41%)
HSVhsv(260, 68%, 62%)
CMYKcmyk(45.3%, 67.9%, 0%, 37.6%)
CIE-LABlab(31.57, 41.32, -53.03)
CIE-LCHlch(31.57, 67.23, 307.92°)
OKLaboklab(42.81% 0.0659 -0.1517)
OKLCHoklch(42.81% 0.165 293.5)
XYZxyz(11.3706, 6.8968, 33.5263)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57339F #7B9F33
analogous
#33459F #57339F #8D339F
triadic
#57339F #9F5733 #339F57
tetradic
#57339F #9F3345 #7B9F33 #339F8D
square
#57339F #9F3345 #7B9F33 #339F8D
split-complementary
#57339F #9F8D33 #459F33
monochromatic
#241542 #3E2471 #57339F #734AC5 #9779D4

Accessibility & contrast

On white

8.83
#57339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#57339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57339F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57339F#FFFFFF#000000##FFFFFF
##57339F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#424D64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #57339f;
/* rgb */ color: rgb(87, 51, 159);
/* oklch */ color: oklch(42.8% 0.165 293.5);
Tailwind
colors: {
  custom: {
    50: '#8d6dbc',
    500: '#57339f',
    950: '#000000',
  },
}
SCSS
$custom: #57339f;
$custom-light: #8d6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#57339f",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 260,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.16541,
    "h": 293.5
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#57339F
secondary
#A3BC71
accent
#DB4DAC
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #57339F

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

Preview Lab → · Contrast checker → · Palette generator →

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