#4115CA#4115CA

#4115CA is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.9% C 0.241 H 279.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4115CA
RGBrgb(65, 21, 202)
HSLhsl(255, 81%, 44%)
HSVhsv(255, 90%, 79%)
CMYKcmyk(67.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(29.22, 63.40, -82.58)
CIE-LCHlch(29.22, 104.11, 307.52°)
OKLaboklab(41.93% 0.0384 -0.2383)
OKLCHoklch(41.93% 0.241 279.2)
XYZxyz(13.1054, 5.9233, 56.3183)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4115CA #9ECA15
analogous
#1543CA #4115CA #9B15CA
triadic
#4115CA #CA4115 #15CA41
tetradic
#4115CA #CA1543 #9ECA15 #15CA9B
square
#4115CA #CA1543 #9ECA15 #15CA9B
split-complementary
#4115CA #CA9B15 #43CA15
monochromatic
#1D095B #2F0F93 #4115CA #5F32EA #8A6AEF

Accessibility & contrast

On white

9.61
#4115CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4115CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4115CA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4115CA#FFFFFF#000000##FFFFFF
##4115CA1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.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: #4115ca;
/* rgb */ color: rgb(65, 21, 202);
/* oklch */ color: oklch(41.9% 0.241 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a5fdc',
    500: '#4115ca',
    950: '#000000',
  },
}
SCSS
$custom: #4115ca;
$custom-light: #8a5fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4115ca",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 254.586,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.24138,
    "h": 279.2
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#4115CA
secondary
#BAD566
accent
#F830C7
background
#F9F5FD
surface
#F2EAFB
border
#CCC6D4
text
#0E0515
muted
#7E7983

Preview Lab

Preview with #4115CA

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

Preview Lab → · Contrast checker → · Palette generator →

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