#3F15A0#3F15A0

#3F15A0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 37.0% C 0.197 H 285.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3F15A0
RGBrgb(63, 21, 160)
HSLhsl(258, 77%, 35%)
HSVhsv(258, 87%, 63%)
CMYKcmyk(60.6%, 86.9%, 0%, 37.3%)
CIE-LABlab(24.10, 52.16, -66.01)
CIE-LCHlch(24.10, 84.13, 308.32°)
OKLaboklab(36.99% 0.0516 -0.1902)
OKLCHoklch(36.99% 0.197 285.2)
XYZxyz(8.6613, 4.1306, 33.5918)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F15A0 #76A015
analogous
#1531A0 #3F15A0 #8415A0
triadic
#3F15A0 #A03F15 #15A03F
tetradic
#3F15A0 #A01531 #76A015 #15A084
square
#3F15A0 #A01531 #76A015 #15A084
split-complementary
#3F15A0 #A08415 #31A015
monochromatic
#140734 #2A0E6A #3F15A0 #541CD6 #7848E7

Accessibility & contrast

On white

11.50
#3F15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3F15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F15A0
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F15A0#FFFFFF#000000##FFFFFF
##3F15A01.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00425E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f15a0;
/* rgb */ color: rgb(63, 21, 160);
/* oklch */ color: oklch(37.0% 0.197 285.2);
Tailwind
colors: {
  custom: {
    50: '#815bbd',
    500: '#3f15a0',
    950: '#000000',
  },
}
SCSS
$custom: #3f15a0;
$custom-light: #815bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f15a0",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 258.129,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.19707,
    "h": 285.2
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#3F15A0
secondary
#A2C849
accent
#F334BA
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3F15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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