#3F1BBB#3F1BBB

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

Color values

HEX#3F1BBB
RGBrgb(63, 27, 187)
HSLhsl(254, 75%, 42%)
HSVhsv(254, 86%, 73%)
CMYKcmyk(66.3%, 85.6%, 0%, 26.7%)
CIE-LABlab(27.92, 57.33, -75.91)
CIE-LCHlch(27.92, 95.13, 307.06°)
OKLaboklab(40.49% 0.039 -0.2191)
OKLCHoklch(40.49% 0.223 280.1)
XYZxyz(11.4086, 5.4276, 47.4505)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1BBB #97BB1B
analogous
#1B47BB #3F1BBB #8F1BBB
triadic
#3F1BBB #BB3F1B #1BBB3F
tetradic
#3F1BBB #BB1B47 #97BB1B #1BBB8F
square
#3F1BBB #BB1B47 #97BB1B #1BBB8F
split-complementary
#3F1BBB #BB8F1B #47BB1B
monochromatic
#1B0C50 #2D1386 #3F1BBB #5932E1 #8567E9

Accessibility & contrast

On white

10.07
#3F1BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F1BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1BBB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1BBB#FFFFFF#000000##FFFFFF
##3F1BBB1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1bbb;
/* rgb */ color: rgb(63, 27, 187);
/* oklch */ color: oklch(40.5% 0.223 280.1);
Tailwind
colors: {
  custom: {
    50: '#8660d1',
    500: '#3f1bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f1bbb;
$custom-light: #8660d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1bbb",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 253.5,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.22253,
    "h": 280.1
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#3F1BBB
secondary
#B6CE63
accent
#F136C7
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3F1BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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