#3F1DA1#3F1DA1

#3F1DA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.192 H 284.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3F1DA1
RGBrgb(63, 29, 161)
HSLhsl(255, 69%, 37%)
HSVhsv(255, 82%, 63%)
CMYKcmyk(60.9%, 82%, 0%, 36.9%)
CIE-LABlab(25.28, 49.27, -64.65)
CIE-LCHlch(25.28, 81.29, 307.31°)
OKLaboklab(37.83% 0.0472 -0.1864)
OKLCHoklch(37.83% 0.192 284.2)
XYZxyz(8.9203, 4.5081, 34.1114)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1DA1 #7FA11D
analogous
#1D3DA1 #3F1DA1 #811DA1
triadic
#3F1DA1 #A13F1D #1DA13F
tetradic
#3F1DA1 #A11D3D #7FA11D #1DA181
square
#3F1DA1 #A11D3D #7FA11D #1DA181
split-complementary
#3F1DA1 #A1811D #3DA11D
monochromatic
#160A39 #2B146D #3F1DA1 #5326D5 #7B58E1

Accessibility & contrast

On white

11.04
#3F1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1DA1
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1DA1#FFFFFF#000000##FFFFFF
##3F1DA11.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f1da1;
/* rgb */ color: rgb(63, 29, 161);
/* oklch */ color: oklch(37.8% 0.192 284.2);
Tailwind
colors: {
  custom: {
    50: '#815fbe',
    500: '#3f1da1',
    950: '#000000',
  },
}
SCSS
$custom: #3f1da1;
$custom-light: #815fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1da1",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 255.455,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.19224,
    "h": 284.2
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#3F1DA1
secondary
#A8C455
accent
#EC3CBF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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