#5230BD#5230BD

#5230BD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.205 H 285.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5230BD
RGBrgb(82, 48, 189)
HSLhsl(254, 59%, 46%)
HSVhsv(254, 75%, 74%)
CMYKcmyk(56.6%, 74.6%, 0%, 25.9%)
CIE-LABlab(33.09, 50.67, -68.49)
CIE-LCHlch(33.09, 85.19, 306.49°)
OKLaboklab(44.57% 0.0553 -0.1972)
OKLCHoklch(44.57% 0.205 285.7)
XYZxyz(13.7192, 7.5811, 48.8746)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230BD #9BBD30
analogous
#3055BD #5230BD #9930BD
triadic
#5230BD #BD5230 #30BD52
tetradic
#5230BD #BD3055 #9BBD30 #30BD99
square
#5230BD #BD3055 #9BBD30 #30BD99
split-complementary
#5230BD #BD9930 #55BD30
monochromatic
#28175B #3D248C #5230BD #7456D4 #9D87E0

Accessibility & contrast

On white

8.35
#5230BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5230BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230BD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230BD#FFFFFF#000000##FFFFFF
##5230BD1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#1E5774
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5230bd;
/* rgb */ color: rgb(82, 48, 189);
/* oklch */ color: oklch(44.6% 0.205 285.7);
Tailwind
colors: {
  custom: {
    50: '#8e6cd2',
    500: '#5230bd',
    950: '#000000',
  },
}
SCSS
$custom: #5230bd;
$custom-light: #8e6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5230bd",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 254.468,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.20478,
    "h": 285.7
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#5230BD
secondary
#B8CA7F
accent
#E345BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5230BD

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

Preview Lab → · Contrast checker → · Palette generator →

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