#582795#582795

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

Color values

HEX#582795
RGBrgb(88, 39, 149)
HSLhsl(267, 59%, 37%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(40.9%, 73.8%, 0%, 41.6%)
CIE-LABlab(28.63, 45.03, -51.72)
CIE-LCHlch(28.63, 68.57, 311.04°)
OKLaboklab(40.49% 0.0815 -0.1477)
OKLCHoklch(40.49% 0.169 298.9)
XYZxyz(10.1735, 5.6955, 28.9913)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582795 #649527
analogous
#272D95 #582795 #8F2795
triadic
#582795 #955827 #279558
tetradic
#582795 #95272D #649527 #27958F
square
#582795 #95272D #649527 #27958F
split-complementary
#582795 #958F27 #2D9527
monochromatic
#1F0E34 #3B1A64 #582795 #7534C6 #9561D6

Accessibility & contrast

On white

9.82
#582795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582795
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582795#FFFFFF#000000##FFFFFF
##5827951.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#49435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582795;
/* rgb */ color: rgb(88, 39, 149);
/* oklch */ color: oklch(40.5% 0.169 298.9);
Tailwind
colors: {
  custom: {
    50: '#8d66b5',
    500: '#582795',
    950: '#000000',
  },
}
SCSS
$custom: #582795;
$custom-light: #8d66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582795",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 266.727,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40486,
    "c": 0.16873,
    "h": 298.9
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#582795
secondary
#91BB5D
accent
#E2469C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582795

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

Preview Lab → · Contrast checker → · Palette generator →

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