#582695#582695

#582695 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 299.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#582695
RGBrgb(88, 38, 149)
HSLhsl(267, 59%, 37%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(40.9%, 74.5%, 0%, 41.6%)
CIE-LABlab(28.46, 45.51, -51.99)
CIE-LCHlch(28.46, 69.09, 311.19°)
OKLaboklab(40.37% 0.0825 -0.1485)
OKLCHoklch(40.37% 0.17 299)
XYZxyz(10.1411, 5.6307, 28.9805)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582695 #639526
analogous
#262C95 #582695 #902695
triadic
#582695 #955826 #269558
tetradic
#582695 #95262C #639526 #269590
square
#582695 #95262C #639526 #269590
split-complementary
#582695 #959026 #2C9526
monochromatic
#1E0D33 #3B1A64 #582695 #7532C6 #955FD6

Accessibility & contrast

On white

9.88
#582695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582695
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582695#FFFFFF#000000##FFFFFF
##5826951.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582695;
/* rgb */ color: rgb(88, 38, 149);
/* oklch */ color: oklch(40.4% 0.170 299.0);
Tailwind
colors: {
  custom: {
    50: '#8d65b5',
    500: '#582695',
    950: '#000000',
  },
}
SCSS
$custom: #582695;
$custom-light: #8d65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582695",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 267.027,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.16991,
    "h": 299
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#582695
secondary
#90BB5B
accent
#E3459C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582695

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

Preview Lab → · Contrast checker → · Palette generator →

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