#3915CA#3915CA

#3915CA is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.3% C 0.243 H 276.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3915CA
RGBrgb(57, 21, 202)
HSLhsl(252, 81%, 44%)
HSVhsv(252, 90%, 79%)
CMYKcmyk(71.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(28.56, 62.95, -83.69)
CIE-LCHlch(28.56, 104.72, 306.95°)
OKLaboklab(41.32% 0.0265 -0.2417)
OKLCHoklch(41.32% 0.243 276.2)
XYZxyz(12.6127, 5.6692, 56.2952)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3915CA #A6CA15
analogous
#154BCA #3915CA #9315CA
triadic
#3915CA #CA3915 #15CA39
tetradic
#3915CA #CA154B #A6CA15 #15CA93
square
#3915CA #CA154B #A6CA15 #15CA93
split-complementary
#3915CA #CA9315 #4BCA15
monochromatic
#1A095B #290F93 #3915CA #5732EA #846AEF

Accessibility & contrast

On white

9.84
#3915CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3915CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3915CA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3915CA#FFFFFF#000000##FFFFFF
##3915CA1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3915ca;
/* rgb */ color: rgb(57, 21, 202);
/* oklch */ color: oklch(41.3% 0.243 276.2);
Tailwind
colors: {
  custom: {
    50: '#875edc',
    500: '#3915ca',
    950: '#000000',
  },
}
SCSS
$custom: #3915ca;
$custom-light: #875edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3915ca",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 251.934,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.24311,
    "h": 276.2
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#3915CA
secondary
#BFD566
accent
#F830D0
background
#F9F5FD
surface
#F2EAFB
border
#CCC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3915CA

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

Preview Lab → · Contrast checker → · Palette generator →

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