#5C30DB#5C30DB

#5C30DB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.237 H 285.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5C30DB
RGBrgb(92, 48, 219)
HSLhsl(255, 70%, 52%)
HSVhsv(255, 78%, 86%)
CMYKcmyk(58%, 78.1%, 0%, 14.1%)
CIE-LABlab(36.93, 60.30, -79.58)
CIE-LCHlch(36.93, 99.85, 307.15°)
OKLaboklab(48.36% 0.0617 -0.2293)
OKLCHoklch(48.36% 0.237 285.1)
XYZxyz(18.2529, 9.5026, 67.8765)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30DB #AFDB30
analogous
#3059DB #5C30DB #B230DB
triadic
#5C30DB #DB5C30 #30DB5C
tetradic
#5C30DB #DB3059 #AFDB30 #30DBB2
square
#5C30DB #DB3059 #AFDB30 #30DBB2
split-complementary
#5C30DB #DBB230 #59DB30
monochromatic
#30157B #441EAF #5C30DB #8564E4 #AE98ED

Accessibility & contrast

On white

7.24
#5C30DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C30DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30DB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30DB#FFFFFF#000000##FFFFFF
##5C30DB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#116385
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c30db;
/* rgb */ color: rgb(92, 48, 219);
/* oklch */ color: oklch(48.4% 0.237 285.1);
Tailwind
colors: {
  custom: {
    50: '#986ee8',
    500: '#5c30db',
    950: '#000000',
  },
}
SCSS
$custom: #5c30db;
$custom-light: #986ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30db",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 255.439,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48357,
    "c": 0.23747,
    "h": 285.1
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#5C30DB
secondary
#C5D98E
accent
#ED3BBF
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C30DB

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

Preview Lab → · Contrast checker → · Palette generator →

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