#593298#593298

#593298 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.158 H 296.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#593298
RGBrgb(89, 50, 152)
HSLhsl(263, 50%, 40%)
HSVhsv(263, 67%, 60%)
CMYKcmyk(41.4%, 67.1%, 0%, 40.4%)
CIE-LABlab(31.05, 40.33, -49.62)
CIE-LCHlch(31.05, 63.94, 309.10°)
OKLaboklab(42.31% 0.0709 -0.1416)
OKLCHoklch(42.31% 0.158 296.6)
XYZxyz(10.9264, 6.6718, 30.4118)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593298 #719832
analogous
#323E98 #593298 #8C3298
triadic
#593298 #985932 #329859
tetradic
#593298 #98323E #719832 #32988C
square
#593298 #98323E #719832 #32988C
split-complementary
#593298 #988C32 #3E9832
monochromatic
#23143C #3E236A #593298 #7545C2 #9773D1

Accessibility & contrast

On white

9.00
#593298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#593298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593298
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593298#FFFFFF#000000##FFFFFF
##5932981.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#494A60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #593298;
/* rgb */ color: rgb(89, 50, 152);
/* oklch */ color: oklch(42.3% 0.158 296.6);
Tailwind
colors: {
  custom: {
    50: '#8d6cb7',
    500: '#593298',
    950: '#000000',
  },
}
SCSS
$custom: #593298;
$custom-light: #8d6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#593298",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 262.941,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42314,
    "c": 0.15832,
    "h": 296.6
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#593298
secondary
#9CB96D
accent
#DA4EA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #593298

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

Preview Lab → · Contrast checker → · Palette generator →

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