#4B15CA#4B15CA

#4B15CA is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.8% C 0.240 H 283.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4B15CA
RGBrgb(75, 21, 202)
HSLhsl(258, 81%, 44%)
HSVhsv(258, 90%, 79%)
CMYKcmyk(62.9%, 89.6%, 0%, 20.8%)
CIE-LABlab(30.15, 64.06, -81.01)
CIE-LCHlch(30.15, 103.28, 308.34°)
OKLaboklab(42.78% 0.054 -0.2335)
OKLCHoklch(42.78% 0.24 283)
XYZxyz(13.8272, 6.2955, 56.3522)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B15CA #94CA15
analogous
#1539CA #4B15CA #A515CA
triadic
#4B15CA #CA4B15 #15CA4B
tetradic
#4B15CA #CA1539 #94CA15 #15CAA5
square
#4B15CA #CA1539 #94CA15 #15CAA5
split-complementary
#4B15CA #CAA515 #39CA15
monochromatic
#22095B #360F93 #4B15CA #6932EA #926AEF

Accessibility & contrast

On white

9.30
#4B15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B15CA
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B15CA#FFFFFF#000000##FFFFFF
##4B15CA1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CCF
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005477
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b15ca;
/* rgb */ color: rgb(75, 21, 202);
/* oklch */ color: oklch(42.8% 0.240 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f60dc',
    500: '#4b15ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b15ca;
$custom-light: #8f60dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b15ca",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 257.901,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.23971,
    "h": 283
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#4B15CA
secondary
#B4D566
accent
#F830BC
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0515
muted
#7E7A83

Preview Lab

Preview with #4B15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4B15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva