#3F1DA0#3F1DA0

#3F1DA0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.191 H 284.4°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#3F1DA0
RGBrgb(63, 29, 160)
HSLhsl(256, 69%, 37%)
HSVhsv(256, 82%, 63%)
CMYKcmyk(60.6%, 81.9%, 0%, 37.3%)
CIE-LABlab(25.18, 48.99, -64.22)
CIE-LCHlch(25.18, 80.77, 307.33°)
OKLaboklab(37.72% 0.0475 -0.1851)
OKLCHoklch(37.72% 0.191 284.4)
XYZxyz(8.8325, 4.4730, 33.6488)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1DA0 #7EA01D
analogous
#1D3CA0 #3F1DA0 #811DA0
triadic
#3F1DA0 #A03F1D #1DA03F
tetradic
#3F1DA0 #A01D3C #7EA01D #1DA081
square
#3F1DA0 #A01D3C #7EA01D #1DA081
split-complementary
#3F1DA0 #A0811D #3CA01D
monochromatic
#160A38 #2B146C #3F1DA0 #5326D4 #7B57E1

Accessibility & contrast

On white

11.08
#3F1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3F1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1DA0
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1DA0#FFFFFF#000000##FFFFFF
##3F1DA01.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f1da0;
/* rgb */ color: rgb(63, 29, 160);
/* oklch */ color: oklch(37.7% 0.191 284.4);
Tailwind
colors: {
  custom: {
    50: '#815fbd',
    500: '#3f1da0',
    950: '#000000',
  },
}
SCSS
$custom: #3f1da0;
$custom-light: #815fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1da0",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 255.573,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37725,
    "c": 0.19111,
    "h": 284.4
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#3F1DA0
secondary
#A7C455
accent
#EC3CBE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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