#3A15CA#3A15CA

#3A15CA is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.4% C 0.243 H 276.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3A15CA
RGBrgb(58, 21, 202)
HSLhsl(252, 81%, 44%)
HSVhsv(252, 90%, 79%)
CMYKcmyk(71.3%, 89.6%, 0%, 20.8%)
CIE-LABlab(28.64, 63.01, -83.56)
CIE-LCHlch(28.64, 104.65, 307.02°)
OKLaboklab(41.39% 0.0279 -0.2413)
OKLCHoklch(41.39% 0.243 276.6)
XYZxyz(12.6703, 5.6989, 56.2979)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A15CA #A5CA15
analogous
#154ACA #3A15CA #9415CA
triadic
#3A15CA #CA3A15 #15CA3A
tetradic
#3A15CA #CA154A #A5CA15 #15CA94
square
#3A15CA #CA154A #A5CA15 #15CA94
split-complementary
#3A15CA #CA9415 #4ACA15
monochromatic
#1A095B #2A0F93 #3A15CA #5832EA #856AEF

Accessibility & contrast

On white

9.81
#3A15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A15CA
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A15CA#FFFFFF#000000##FFFFFF
##3A15CA1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACF
Deuteranopia (green-blind)
#003CC7
Tritanopia (blue-blind)
#005577
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a15ca;
/* rgb */ color: rgb(58, 21, 202);
/* oklch */ color: oklch(41.4% 0.243 276.6);
Tailwind
colors: {
  custom: {
    50: '#885fdc',
    500: '#3a15ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a15ca;
$custom-light: #885fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a15ca",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 252.265,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.24288,
    "h": 276.6
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#3A15CA
secondary
#BED566
accent
#F830CF
background
#F9F5FD
surface
#F2EAFB
border
#CCC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3A15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3A15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva