#3F1BBC#3F1BBC

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

Color values

HEX#3F1BBC
RGBrgb(63, 27, 188)
HSLhsl(253, 75%, 42%)
HSVhsv(253, 86%, 74%)
CMYKcmyk(66.5%, 85.6%, 0%, 26.3%)
CIE-LABlab(28.04, 57.61, -76.31)
CIE-LCHlch(28.04, 95.61, 307.05°)
OKLaboklab(40.6% 0.0386 -0.2202)
OKLCHoklch(40.6% 0.224 280)
XYZxyz(11.5160, 5.4705, 48.0162)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1BBC #98BC1B
analogous
#1B48BC #3F1BBC #901BBC
triadic
#3F1BBC #BC3F1B #1BBC3F
tetradic
#3F1BBC #BC1B48 #98BC1B #1BBC90
square
#3F1BBC #BC1B48 #98BC1B #1BBC90
split-complementary
#3F1BBC #BC901B #48BC1B
monochromatic
#1B0C51 #2D1386 #3F1BBC #5A33E2 #8568E9

Accessibility & contrast

On white

10.03
#3F1BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1BBC
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1BBC#FFFFFF#000000##FFFFFF
##3F1BBC1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#003CB9
Tritanopia (blue-blind)
#005070
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f1bbc;
/* rgb */ color: rgb(63, 27, 188);
/* oklch */ color: oklch(40.6% 0.224 280.0);
Tailwind
colors: {
  custom: {
    50: '#8660d2',
    500: '#3f1bbc',
    950: '#000000',
  },
}
SCSS
$custom: #3f1bbc;
$custom-light: #8660d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1bbc",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 188
  },
  "hsl": {
    "h": 253.416,
    "s": 74.884,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.22362,
    "h": 280
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#3F1BBC
secondary
#B7CF64
accent
#F236C8
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3F1BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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