#592282#592282

#592282 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.154 H 306.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#592282
RGBrgb(89, 34, 130)
HSLhsl(274, 59%, 32%)
HSVhsv(274, 74%, 51%)
CMYKcmyk(31.5%, 73.8%, 0%, 49%)
CIE-LABlab(26.39, 42.80, -43.55)
CIE-LCHlch(26.39, 61.06, 314.50°)
OKLaboklab(38.45% 0.0919 -0.1237)
OKLCHoklch(38.45% 0.154 306.6)
XYZxyz(8.7202, 4.8797, 21.5973)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592282 #4B8222
analogous
#292282 #592282 #82227B
triadic
#592282 #825922 #228259
tetradic
#592282 #822922 #4B8222 #227B82
square
#592282 #822922 #4B8222 #227B82
split-complementary
#592282 #7B8222 #228229
monochromatic
#170921 #381551 #592282 #7A2FB3 #994ED1

Accessibility & contrast

On white

10.63
#592282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#592282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592282
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592282#FFFFFF#000000##FFFFFF
##5922821.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#523850
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #592282;
/* rgb */ color: rgb(89, 34, 130);
/* oklch */ color: oklch(38.4% 0.154 306.6);
Tailwind
colors: {
  custom: {
    50: '#8c62a7',
    500: '#592282',
    950: '#000000',
  },
}
SCSS
$custom: #592282;
$custom-light: #8c62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#592282",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 274.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.15405,
    "h": 306.6
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#592282
secondary
#78B44C
accent
#E24689
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #592282

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

Preview Lab → · Contrast checker → · Palette generator →

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