#582893#582893

#582893 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.165 H 299.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#582893
RGBrgb(88, 40, 147)
HSLhsl(267, 57%, 37%)
HSVhsv(267, 73%, 58%)
CMYKcmyk(40.1%, 72.8%, 0%, 42.4%)
CIE-LABlab(28.64, 44.01, -50.47)
CIE-LCHlch(28.64, 66.97, 311.09°)
OKLaboklab(40.44% 0.0809 -0.1441)
OKLCHoklch(40.44% 0.165 299.3)
XYZxyz(10.0484, 5.6988, 28.1687)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582893 #639328
analogous
#282E93 #582893 #8E2893
triadic
#582893 #935828 #289358
tetradic
#582893 #93282E #639328 #28938E
square
#582893 #93282E #639328 #28938E
split-complementary
#582893 #938E28 #2E9328
monochromatic
#1E0E33 #3B1B63 #582893 #7535C3 #9561D4

Accessibility & contrast

On white

9.81
#582893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#582893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582893
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582893#FFFFFF#000000##FFFFFF
##5828931.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#4A425B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582893;
/* rgb */ color: rgb(88, 40, 147);
/* oklch */ color: oklch(40.4% 0.165 299.3);
Tailwind
colors: {
  custom: {
    50: '#8d66b4',
    500: '#582893',
    950: '#000000',
  },
}
SCSS
$custom: #582893;
$custom-light: #8d66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582893",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 266.916,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.16526,
    "h": 299.3
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#582893
secondary
#90BA5D
accent
#E0479C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582893

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

Preview Lab → · Contrast checker → · Palette generator →

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