#592F95#592F95

#592F95 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.159 H 298.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#592F95
RGBrgb(89, 47, 149)
HSLhsl(265, 52%, 38%)
HSVhsv(265, 68%, 58%)
CMYKcmyk(40.3%, 68.5%, 0%, 41.6%)
CIE-LABlab(30.22, 41.13, -49.12)
CIE-LCHlch(30.22, 64.07, 309.94°)
OKLaboklab(41.65% 0.0746 -0.1401)
OKLCHoklch(41.65% 0.159 298)
XYZxyz(10.5598, 6.3266, 29.0928)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F95 #6B952F
analogous
#2F3895 #592F95 #8C2F95
triadic
#592F95 #95592F #2F9559
tetradic
#592F95 #952F38 #6B952F #2F958C
square
#592F95 #952F38 #6B952F #2F958C
split-complementary
#592F95 #958C2F #38952F
monochromatic
#211238 #3D2066 #592F95 #753FC2 #966DD1

Accessibility & contrast

On white

9.27
#592F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#592F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F95
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F95#FFFFFF#000000##FFFFFF
##592F951.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#4B475E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #592f95;
/* rgb */ color: rgb(89, 47, 149);
/* oklch */ color: oklch(41.6% 0.159 298.0);
Tailwind
colors: {
  custom: {
    50: '#8d6bb5',
    500: '#592f95',
    950: '#000000',
  },
}
SCSS
$custom: #592f95;
$custom-light: #8d6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#592f95",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 264.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.15873,
    "h": 298
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#592F95
secondary
#97B867
accent
#DB4CA1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #592F95

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

Preview Lab → · Contrast checker → · Palette generator →

#592F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva