#3F15CA#3F15CA

#3F15CA is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.8% C 0.242 H 278.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3F15CA
RGBrgb(63, 21, 202)
HSLhsl(254, 81%, 44%)
HSVhsv(254, 90%, 79%)
CMYKcmyk(68.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(29.05, 63.29, -82.87)
CIE-LCHlch(29.05, 104.27, 307.37°)
OKLaboklab(41.77% 0.0354 -0.2392)
OKLCHoklch(41.77% 0.242 278.4)
XYZxyz(12.9753, 5.8562, 56.3122)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F15CA #A0CA15
analogous
#1545CA #3F15CA #9915CA
triadic
#3F15CA #CA3F15 #15CA3F
tetradic
#3F15CA #CA1545 #A0CA15 #15CA99
square
#3F15CA #CA1545 #A0CA15 #15CA99
split-complementary
#3F15CA #CA9915 #45CA15
monochromatic
#1C095B #2E0F93 #3F15CA #5D32EA #896AEF

Accessibility & contrast

On white

9.67
#3F15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F15CA
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F15CA#FFFFFF#000000##FFFFFF
##3F15CA1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.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: #3f15ca;
/* rgb */ color: rgb(63, 21, 202);
/* oklch */ color: oklch(41.8% 0.242 278.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fdc',
    500: '#3f15ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f15ca;
$custom-light: #8a5fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f15ca",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 253.923,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.24179,
    "h": 278.4
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#3F15CA
secondary
#BBD566
accent
#F830C9
background
#F9F5FD
surface
#F2EAFB
border
#CCC6D4
text
#0E0515
muted
#7E7983

Preview Lab

Preview with #3F15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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