#592298#592298

#592298 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.178 H 299.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#592298
RGBrgb(89, 34, 152)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 78%, 60%)
CMYKcmyk(41.4%, 77.6%, 0%, 40.4%)
CIE-LABlab(28.21, 48.28, -54.24)
CIE-LCHlch(28.21, 72.62, 311.67°)
OKLaboklab(40.29% 0.087 -0.1551)
OKLCHoklch(40.29% 0.178 299.3)
XYZxyz(10.3579, 5.5348, 30.2223)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592298 #619822
analogous
#222698 #592298 #942298
triadic
#592298 #985922 #229859
tetradic
#592298 #982226 #619822 #229894
square
#592298 #982226 #619822 #229894
split-complementary
#592298 #989422 #269822
monochromatic
#1E0C34 #3C1766 #592298 #762DCA #965ADA

Accessibility & contrast

On white

9.97
#592298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592298
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592298#FFFFFF#000000##FFFFFF
##5922981.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#4A415C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592298;
/* rgb */ color: rgb(89, 34, 152);
/* oklch */ color: oklch(40.3% 0.178 299.3);
Tailwind
colors: {
  custom: {
    50: '#8e63b7',
    500: '#592298',
    950: '#000000',
  },
}
SCSS
$custom: #592298;
$custom-light: #8e63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592298",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 267.966,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.17781,
    "h": 299.3
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#592298
secondary
#8EBE57
accent
#E64199
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592298

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

Preview Lab → · Contrast checker → · Palette generator →

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