#3D15CA#3D15CA

#3D15CA is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.6% C 0.242 H 277.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3D15CA
RGBrgb(61, 21, 202)
HSLhsl(253, 81%, 44%)
HSVhsv(253, 90%, 79%)
CMYKcmyk(69.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(28.88, 63.17, -83.15)
CIE-LCHlch(28.88, 104.43, 307.22°)
OKLaboklab(41.61% 0.0323 -0.24)
OKLCHoklch(41.61% 0.242 277.7)
XYZxyz(12.8499, 5.7915, 56.3064)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D15CA #A2CA15
analogous
#1547CA #3D15CA #9715CA
triadic
#3D15CA #CA3D15 #15CA3D
tetradic
#3D15CA #CA1547 #A2CA15 #15CA97
square
#3D15CA #CA1547 #A2CA15 #15CA97
split-complementary
#3D15CA #CA9715 #47CA15
monochromatic
#1C095B #2C0F93 #3D15CA #5B32EA #876AEF

Accessibility & contrast

On white

9.73
#3D15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D15CA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D15CA#FFFFFF#000000##FFFFFF
##3D15CA1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d15ca;
/* rgb */ color: rgb(61, 21, 202);
/* oklch */ color: oklch(41.6% 0.242 277.7);
Tailwind
colors: {
  custom: {
    50: '#895fdc',
    500: '#3d15ca',
    950: '#000000',
  },
}
SCSS
$custom: #3d15ca;
$custom-light: #895fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d15ca",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 253.26,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.24221,
    "h": 277.7
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#3D15CA
secondary
#BCD566
accent
#F830CC
background
#F9F5FD
surface
#F2EAFB
border
#CCC6D4
text
#0E0515
muted
#7E7983

Preview Lab

Preview with #3D15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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