#592795#592795

#592795 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.169 H 299.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#592795
RGBrgb(89, 39, 149)
HSLhsl(267, 59%, 37%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(40.3%, 73.8%, 0%, 41.6%)
CIE-LABlab(28.76, 45.21, -51.50)
CIE-LCHlch(28.76, 68.53, 311.28°)
OKLaboklab(40.61% 0.083 -0.1471)
OKLCHoklch(40.61% 0.169 299.4)
XYZxyz(10.2688, 5.7447, 28.9958)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592795 #639527
analogous
#272C95 #592795 #902795
triadic
#592795 #955927 #279559
tetradic
#592795 #95272C #639527 #279590
square
#592795 #95272C #639527 #279590
split-complementary
#592795 #959027 #2C9527
monochromatic
#1F0E34 #3C1A64 #592795 #7634C6 #9661D6

Accessibility & contrast

On white

9.77
#592795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#592795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592795
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592795#FFFFFF#000000##FFFFFF
##5927951.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#4B435C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592795;
/* rgb */ color: rgb(89, 39, 149);
/* oklch */ color: oklch(40.6% 0.169 299.4);
Tailwind
colors: {
  custom: {
    50: '#8e66b5',
    500: '#592795',
    950: '#000000',
  },
}
SCSS
$custom: #592795;
$custom-light: #8e66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#592795",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 267.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.16888,
    "h": 299.4
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#592795
secondary
#90BB5D
accent
#E2469B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592795

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

Preview Lab → · Contrast checker → · Palette generator →

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