#4215CA#4215CA

#4215CA is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 42.0% C 0.241 H 279.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4215CA
RGBrgb(66, 21, 202)
HSLhsl(255, 81%, 44%)
HSVhsv(255, 90%, 79%)
CMYKcmyk(67.3%, 89.6%, 0%, 20.8%)
CIE-LABlab(29.31, 63.47, -82.43)
CIE-LCHlch(29.31, 104.03, 307.59°)
OKLaboklab(42.01% 0.0399 -0.2379)
OKLCHoklch(42.01% 0.241 279.5)
XYZxyz(13.1722, 5.9577, 56.3215)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4215CA #9DCA15
analogous
#1542CA #4215CA #9C15CA
triadic
#4215CA #CA4215 #15CA42
tetradic
#4215CA #CA1542 #9DCA15 #15CA9C
square
#4215CA #CA1542 #9DCA15 #15CA9C
split-complementary
#4215CA #CA9C15 #42CA15
monochromatic
#1E095B #300F93 #4215CA #6032EA #8B6AEF

Accessibility & contrast

On white

9.58
#4215CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4215CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4215CA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4215CA#FFFFFF#000000##FFFFFF
##4215CA1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BCF
Deuteranopia (green-blind)
#003EC7
Tritanopia (blue-blind)
#005577
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4215ca;
/* rgb */ color: rgb(66, 21, 202);
/* oklch */ color: oklch(42.0% 0.241 279.5);
Tailwind
colors: {
  custom: {
    50: '#8b5fdc',
    500: '#4215ca',
    950: '#000000',
  },
}
SCSS
$custom: #4215ca;
$custom-light: #8b5fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4215ca",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 254.917,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42006,
    "c": 0.24119,
    "h": 279.5
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#4215CA
secondary
#B9D566
accent
#F830C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0515
muted
#7E7A83

Preview Lab

Preview with #4215CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4215CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva