#5230BC#5230BC

#5230BC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.204 H 285.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5230BC
RGBrgb(82, 48, 188)
HSLhsl(255, 59%, 46%)
HSVhsv(255, 74%, 74%)
CMYKcmyk(56.4%, 74.5%, 0%, 26.3%)
CIE-LABlab(33.00, 50.38, -68.05)
CIE-LCHlch(33.00, 84.67, 306.51°)
OKLaboklab(44.48% 0.0555 -0.1959)
OKLCHoklch(44.48% 0.204 285.8)
XYZxyz(13.6110, 7.5378, 48.3049)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230BC #9ABC30
analogous
#3054BC #5230BC #9830BC
triadic
#5230BC #BC5230 #30BC52
tetradic
#5230BC #BC3054 #9ABC30 #30BC98
square
#5230BC #BC3054 #9ABC30 #30BC98
split-complementary
#5230BC #BC9830 #54BC30
monochromatic
#27175A #3D248B #5230BC #7455D4 #9C86E0

Accessibility & contrast

On white

8.37
#5230BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5230BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230BC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230BC#FFFFFF#000000##FFFFFF
##5230BC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#1F5774
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5230bc;
/* rgb */ color: rgb(82, 48, 188);
/* oklch */ color: oklch(44.5% 0.204 285.8);
Tailwind
colors: {
  custom: {
    50: '#8e6cd1',
    500: '#5230bc',
    950: '#000000',
  },
}
SCSS
$custom: #5230bc;
$custom-light: #8e6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5230bc",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 254.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.20362,
    "h": 285.8
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#5230BC
secondary
#B7CA7E
accent
#E345BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5230BC

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

Preview Lab → · Contrast checker → · Palette generator →

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