#4315CA#4315CA

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

Color values

HEX#4315CA
RGBrgb(67, 21, 202)
HSLhsl(255, 81%, 44%)
HSVhsv(255, 90%, 79%)
CMYKcmyk(66.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(29.39, 63.53, -82.28)
CIE-LCHlch(29.39, 103.95, 307.67°)
OKLaboklab(42.09% 0.0415 -0.2374)
OKLCHoklch(42.09% 0.241 279.9)
XYZxyz(13.2402, 5.9928, 56.3247)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4315CA #9CCA15
analogous
#1541CA #4315CA #9D15CA
triadic
#4315CA #CA4315 #15CA43
tetradic
#4315CA #CA1541 #9CCA15 #15CA9D
square
#4315CA #CA1541 #9CCA15 #15CA9D
split-complementary
#4315CA #CA9D15 #41CA15
monochromatic
#1E095B #310F93 #4315CA #6132EA #8C6AEF

Accessibility & contrast

On white

9.55
#4315CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4315CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4315CA
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4315CA#FFFFFF#000000##FFFFFF
##4315CA1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.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: #4315ca;
/* rgb */ color: rgb(67, 21, 202);
/* oklch */ color: oklch(42.1% 0.241 279.9);
Tailwind
colors: {
  custom: {
    50: '#8b5fdc',
    500: '#4315ca',
    950: '#000000',
  },
}
SCSS
$custom: #4315ca;
$custom-light: #8b5fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4315ca",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 255.249,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42087,
    "c": 0.241,
    "h": 279.9
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4315CA

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

Preview Lab → · Contrast checker → · Palette generator →

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