#5230B8#5230B8

#5230B8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.199 H 286.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5230B8
RGBrgb(82, 48, 184)
HSLhsl(255, 59%, 45%)
HSVhsv(255, 74%, 72%)
CMYKcmyk(55.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(32.63, 49.23, -66.30)
CIE-LCHlch(32.63, 82.57, 306.59°)
OKLaboklab(44.11% 0.0565 -0.1908)
OKLCHoklch(44.11% 0.199 286.5)
XYZxyz(13.1858, 7.3677, 46.0654)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230B8 #96B830
analogous
#3052B8 #5230B8 #9630B8
triadic
#5230B8 #B85230 #30B852
tetradic
#5230B8 #B83052 #96B830 #30B896
square
#5230B8 #B83052 #96B830 #30B896
split-complementary
#5230B8 #B89630 #52B830
monochromatic
#271757 #3C2387 #5230B8 #7353D2 #9A84DF

Accessibility & contrast

On white

8.49
#5230B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5230B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230B8
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230B8#FFFFFF#000000##FFFFFF
##5230B81.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#245571
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5230b8;
/* rgb */ color: rgb(82, 48, 184);
/* oklch */ color: oklch(44.1% 0.199 286.5);
Tailwind
colors: {
  custom: {
    50: '#8e6cce',
    500: '#5230b8',
    950: '#000000',
  },
}
SCSS
$custom: #5230b8;
$custom-light: #8e6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#5230b8",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 255,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.19896,
    "h": 286.5
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#5230B8
secondary
#B5C87C
accent
#E246BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5230B8

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

Preview Lab → · Contrast checker → · Palette generator →

#5230B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva