#3F1ABB#3F1ABB

#3F1ABB is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.4% C 0.223 H 280.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3F1ABB
RGBrgb(63, 26, 187)
HSLhsl(254, 76%, 42%)
HSVhsv(254, 86%, 73%)
CMYKcmyk(66.3%, 86.1%, 0%, 26.7%)
CIE-LABlab(27.80, 57.70, -76.11)
CIE-LCHlch(27.80, 95.51, 307.16°)
OKLaboklab(40.41% 0.0394 -0.2197)
OKLCHoklch(40.41% 0.223 280.2)
XYZxyz(11.3861, 5.3825, 47.4430)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1ABB #96BB1A
analogous
#1A45BB #3F1ABB #901ABB
triadic
#3F1ABB #BB3F1A #1ABB3F
tetradic
#3F1ABB #BB1A45 #96BB1A #1ABB90
square
#3F1ABB #BB1A45 #96BB1A #1ABB90
split-complementary
#3F1ABB #BB901A #45BB1A
monochromatic
#1B0B50 #2D1385 #3F1ABB #5930E2 #8466EA

Accessibility & contrast

On white

10.11
#3F1ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F1ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1ABB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1ABB#FFFFFF#000000##FFFFFF
##3F1ABB1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#004F6F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f1abb;
/* rgb */ color: rgb(63, 26, 187);
/* oklch */ color: oklch(40.4% 0.223 280.2);
Tailwind
colors: {
  custom: {
    50: '#8660d1',
    500: '#3f1abb',
    950: '#000000',
  },
}
SCSS
$custom: #3f1abb;
$custom-light: #8660d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1abb",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 253.789,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.22316,
    "h": 280.2
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#3F1ABB
secondary
#B6CF62
accent
#F236C7
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3F1ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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