#5D30BF#5D30BF

#5D30BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.206 H 290.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5D30BF
RGBrgb(93, 48, 191)
HSLhsl(259, 60%, 47%)
HSVhsv(259, 75%, 75%)
CMYKcmyk(51.3%, 74.9%, 0%, 25.1%)
CIE-LABlab(34.40, 52.79, -67.48)
CIE-LCHlch(34.40, 85.68, 308.04°)
OKLaboklab(45.81% 0.071 -0.1939)
OKLCHoklch(45.81% 0.206 290.1)
XYZxyz(14.9724, 8.2020, 50.0743)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30BF #92BF30
analogous
#304BBF #5D30BF #A530BF
triadic
#5D30BF #BF5D30 #30BF5D
tetradic
#5D30BF #BF304B #92BF30 #30BFA5
square
#5D30BF #BF304B #92BF30 #30BFA5
split-complementary
#5D30BF #BFA530 #4BBF30
monochromatic
#2D175D #45248E #5D30BF #7F57D5 #A488E1

Accessibility & contrast

On white

7.95
#5D30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5D30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30BF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30BF#FFFFFF#000000##FFFFFF
##5D30BF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#3A5775
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d30bf;
/* rgb */ color: rgb(93, 48, 191);
/* oklch */ color: oklch(45.8% 0.206 290.1);
Tailwind
colors: {
  custom: {
    50: '#956dd3',
    500: '#5d30bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d30bf;
$custom-light: #956dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30bf",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 258.881,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.20646,
    "h": 290.1
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#5D30BF
secondary
#B3CB80
accent
#E345B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D30BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5D30BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva