#3F1DAD#3F1DAD

#3F1DAD is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.1% C 0.206 H 282.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3F1DAD
RGBrgb(63, 29, 173)
HSLhsl(254, 71%, 40%)
HSVhsv(254, 83%, 68%)
CMYKcmyk(63.6%, 83.2%, 0%, 32.2%)
CIE-LABlab(26.60, 52.67, -69.74)
CIE-LCHlch(26.60, 87.39, 307.06°)
OKLaboklab(39.12% 0.0431 -0.2012)
OKLCHoklch(39.12% 0.206 282.1)
XYZxyz(10.0297, 4.9519, 39.9543)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1DAD #8BAD1D
analogous
#1D43AD #3F1DAD #871DAD
triadic
#3F1DAD #AD3F1D #1DAD3F
tetradic
#3F1DAD #AD1D43 #8BAD1D #1DAD87
square
#3F1DAD #AD1D43 #8BAD1D #1DAD87
split-complementary
#3F1DAD #AD871D #43AD1D
monochromatic
#190B44 #2C1479 #3F1DAD #552CDC #7F60E4

Accessibility & contrast

On white

10.55
#3F1DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F1DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1DAD
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1DAD#FFFFFF#000000##FFFFFF
##3F1DAD1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f1dad;
/* rgb */ color: rgb(63, 29, 173);
/* oklch */ color: oklch(39.1% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#8360c7',
    500: '#3f1dad',
    950: '#000000',
  },
}
SCSS
$custom: #3f1dad;
$custom-light: #8360c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1dad",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 173
  },
  "hsl": {
    "h": 254.167,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39123,
    "c": 0.20575,
    "h": 282.1
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#3F1DAD
secondary
#AFC95D
accent
#EE3AC3
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F1DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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