#5E30BC#5E30BC

#5E30BC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.203 H 291.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5E30BC
RGBrgb(94, 48, 188)
HSLhsl(260, 59%, 46%)
HSVhsv(260, 74%, 74%)
CMYKcmyk(50%, 74.5%, 0%, 26.3%)
CIE-LABlab(34.24, 52.13, -65.97)
CIE-LCHlch(34.24, 84.08, 308.31°)
OKLaboklab(45.64% 0.0732 -0.1894)
OKLCHoklch(45.64% 0.203 291.1)
XYZxyz(14.7476, 8.1238, 48.3582)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30BC #8EBC30
analogous
#3048BC #5E30BC #A430BC
triadic
#5E30BC #BC5E30 #30BC5E
tetradic
#5E30BC #BC3048 #8EBC30 #30BCA4
square
#5E30BC #BC3048 #8EBC30 #30BCA4
split-complementary
#5E30BC #BCA430 #48BC30
monochromatic
#2D175A #46248B #5E30BC #7F55D4 #A486E0

Accessibility & contrast

On white

8.00
#5E30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5E30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30BC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30BC#FFFFFF#000000##FFFFFF
##5E30BC1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#3E5674
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e30bc;
/* rgb */ color: rgb(94, 48, 188);
/* oklch */ color: oklch(45.6% 0.203 291.1);
Tailwind
colors: {
  custom: {
    50: '#956dd1',
    500: '#5e30bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e30bc;
$custom-light: #956dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30bc",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 259.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45643,
    "c": 0.20308,
    "h": 291.1
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#5E30BC
secondary
#B1CA7E
accent
#E345AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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