#592299#592299

#592299 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.179 H 299.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#592299
RGBrgb(89, 34, 153)
HSLhsl(268, 64%, 37%)
HSVhsv(268, 78%, 60%)
CMYKcmyk(41.8%, 77.8%, 0%, 40%)
CIE-LABlab(28.29, 48.53, -54.71)
CIE-LCHlch(28.29, 73.14, 311.57°)
OKLaboklab(40.38% 0.0867 -0.1565)
OKLCHoklch(40.38% 0.179 299)
XYZxyz(10.4402, 5.5677, 30.6554)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592299 #629922
analogous
#222799 #592299 #952299
triadic
#592299 #995922 #229959
tetradic
#592299 #992227 #629922 #229995
square
#592299 #992227 #629922 #229995
split-complementary
#592299 #999522 #279922
monochromatic
#1F0C35 #3C1767 #592299 #762DCB #965BDB

Accessibility & contrast

On white

9.94
#592299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#592299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592299
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592299#FFFFFF#000000##FFFFFF
##5922991.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#49425D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592299;
/* rgb */ color: rgb(89, 34, 153);
/* oklch */ color: oklch(40.4% 0.179 299.0);
Tailwind
colors: {
  custom: {
    50: '#8e64b8',
    500: '#592299',
    950: '#000000',
  },
}
SCSS
$custom: #592299;
$custom-light: #8e64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#592299",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 267.731,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.17888,
    "h": 299
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#592299
secondary
#8FBF58
accent
#E7419A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592299

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

Preview Lab → · Contrast checker → · Palette generator →

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