#3F1CBB#3F1CBB

#3F1CBB is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.6% C 0.222 H 280.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3F1CBB
RGBrgb(63, 28, 187)
HSLhsl(253, 74%, 42%)
HSVhsv(253, 85%, 73%)
CMYKcmyk(66.3%, 85%, 0%, 26.7%)
CIE-LABlab(28.05, 56.96, -75.70)
CIE-LCHlch(28.05, 94.74, 306.96°)
OKLaboklab(40.58% 0.0386 -0.2185)
OKLCHoklch(40.58% 0.222 280)
XYZxyz(11.4319, 5.4742, 47.4583)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1CBB #98BB1C
analogous
#1C48BB #3F1CBB #8F1CBB
triadic
#3F1CBB #BB3F1C #1CBB3F
tetradic
#3F1CBB #BB1C48 #98BB1C #1CBB8F
square
#3F1CBB #BB1C48 #98BB1C #1CBB8F
split-complementary
#3F1CBB #BB8F1C #48BB1C
monochromatic
#1B0C51 #2D1486 #3F1CBB #5A34E1 #8569E9

Accessibility & contrast

On white

10.02
#3F1CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F1CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1CBB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1CBB#FFFFFF#000000##FFFFFF
##3F1CBB1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f1cbb;
/* rgb */ color: rgb(63, 28, 187);
/* oklch */ color: oklch(40.6% 0.222 280.0);
Tailwind
colors: {
  custom: {
    50: '#8660d1',
    500: '#3f1cbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f1cbb;
$custom-light: #8660d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1cbb",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 187
  },
  "hsl": {
    "h": 253.208,
    "s": 73.953,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.22189,
    "h": 280
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#3F1CBB
secondary
#B7CE65
accent
#F137C8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3F1CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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