#3F1FB1#3F1FB1

#3F1FB1 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.8% C 0.209 H 281.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#3F1FB1
RGBrgb(63, 31, 177)
HSLhsl(253, 70%, 41%)
HSVhsv(253, 82%, 69%)
CMYKcmyk(64.4%, 82.5%, 0%, 30.6%)
CIE-LABlab(27.33, 52.96, -70.94)
CIE-LCHlch(27.33, 88.52, 306.74°)
OKLaboklab(39.75% 0.0408 -0.2047)
OKLCHoklch(39.75% 0.209 281.3)
XYZxyz(10.4732, 5.2103, 42.0402)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1FB1 #91B11F
analogous
#1F48B1 #3F1FB1 #881FB1
triadic
#3F1FB1 #B13F1F #1FB13F
tetradic
#3F1FB1 #B11F48 #91B11F #1FB188
square
#3F1FB1 #B11F48 #91B11F #1FB188
split-complementary
#3F1FB1 #B1881F #48B11F
monochromatic
#1A0D49 #2C167D #3F1FB1 #5732DB #8266E4

Accessibility & contrast

On white

10.28
#3F1FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F1FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1FB1
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1FB1#FFFFFF#000000##FFFFFF
##3F1FB11.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f1fb1;
/* rgb */ color: rgb(63, 31, 177);
/* oklch */ color: oklch(39.8% 0.209 281.3);
Tailwind
colors: {
  custom: {
    50: '#8461ca',
    500: '#3f1fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3f1fb1;
$custom-light: #8461ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1fb1",
  "rgb": {
    "r": 63,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 253.151,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.20871,
    "h": 281.3
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#3F1FB1
secondary
#B3CA62
accent
#ED3BC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F1FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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