#5830AF#5830AF

#5830AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.188 H 291.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#5830AF
RGBrgb(88, 48, 175)
HSLhsl(259, 57%, 44%)
HSVhsv(259, 73%, 69%)
CMYKcmyk(49.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(32.44, 47.59, -61.23)
CIE-LCHlch(32.44, 77.55, 307.86°)
OKLaboklab(43.87% 0.0674 -0.1757)
OKLCHoklch(43.87% 0.188 291)
XYZxyz(12.8171, 7.2833, 41.2796)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830AF #87AF30
analogous
#3047AF #5830AF #9730AF
triadic
#5830AF #AF5830 #30AF58
tetradic
#5830AF #AF3047 #87AF30 #30AF97
square
#5830AF #AF3047 #87AF30 #30AF97
split-complementary
#5830AF #AF9730 #47AF30
monochromatic
#28164F #40237F #5830AF #764ECE #9B7EDC

Accessibility & contrast

On white

8.55
#5830AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5830AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830AF
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830AF#FFFFFF#000000##FFFFFF
##5830AF1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#3B516C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5830af;
/* rgb */ color: rgb(88, 48, 175);
/* oklch */ color: oklch(43.9% 0.188 291.0);
Tailwind
colors: {
  custom: {
    50: '#906cc8',
    500: '#5830af',
    950: '#000000',
  },
}
SCSS
$custom: #5830af;
$custom-light: #906cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5830af",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 258.898,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.1882,
    "h": 291
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#5830AF
secondary
#ACC476
accent
#E048B0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5830AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5830AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva