#5230BF#5230BF

#5230BF is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.207 H 285.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5230BF
RGBrgb(82, 48, 191)
HSLhsl(254, 60%, 47%)
HSVhsv(254, 75%, 75%)
CMYKcmyk(57.1%, 74.9%, 0%, 25.1%)
CIE-LABlab(33.28, 51.24, -69.36)
CIE-LCHlch(33.28, 86.23, 306.46°)
OKLaboklab(44.76% 0.0548 -0.1997)
OKLCHoklch(44.76% 0.207 285.3)
XYZxyz(13.9377, 7.6685, 50.0258)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230BF #9DBF30
analogous
#3055BF #5230BF #9A30BF
triadic
#5230BF #BF5230 #30BF52
tetradic
#5230BF #BF3055 #9DBF30 #30BF9A
square
#5230BF #BF3055 #9DBF30 #30BF9A
split-complementary
#5230BF #BF9A30 #55BF30
monochromatic
#28175D #3D248E #5230BF #7557D5 #9D88E1

Accessibility & contrast

On white

8.29
#5230BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5230BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230BF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230BF#FFFFFF#000000##FFFFFF
##5230BF1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#1A5875
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5230bf;
/* rgb */ color: rgb(82, 48, 191);
/* oklch */ color: oklch(44.8% 0.207 285.3);
Tailwind
colors: {
  custom: {
    50: '#8f6cd4',
    500: '#5230bf',
    950: '#000000',
  },
}
SCSS
$custom: #5230bf;
$custom-light: #8f6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5230bf",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 254.266,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44763,
    "c": 0.20709,
    "h": 285.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5230BF

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

Preview Lab → · Contrast checker → · Palette generator →

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