#3F1BB0#3F1BB0

#3F1BB0 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.3% C 0.211 H 281.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3F1BB0
RGBrgb(63, 27, 176)
HSLhsl(254, 73%, 40%)
HSVhsv(254, 85%, 69%)
CMYKcmyk(64.2%, 84.7%, 0%, 31%)
CIE-LABlab(26.66, 54.31, -71.44)
CIE-LCHlch(26.66, 89.73, 307.24°)
OKLaboklab(39.27% 0.0429 -0.2061)
OKLCHoklch(39.27% 0.211 281.8)
XYZxyz(10.2758, 4.9744, 41.4845)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1BB0 #8CB01B
analogous
#1B41B0 #3F1BB0 #8A1BB0
triadic
#3F1BB0 #B03F1B #1BB03F
tetradic
#3F1BB0 #B01B41 #8CB01B #1BB08A
square
#3F1BB0 #B01B41 #8CB01B #1BB08A
split-complementary
#3F1BB0 #B08A1B #41B01B
monochromatic
#190B46 #2C137B #3F1BB0 #552ADE #805FE6

Accessibility & contrast

On white

10.53
#3F1BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F1BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1BB0
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1BB0#FFFFFF#000000##FFFFFF
##3F1BB01.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B4
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f1bb0;
/* rgb */ color: rgb(63, 27, 176);
/* oklch */ color: oklch(39.3% 0.211 281.8);
Tailwind
colors: {
  custom: {
    50: '#845fc9',
    500: '#3f1bb0',
    950: '#000000',
  },
}
SCSS
$custom: #3f1bb0;
$custom-light: #845fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1bb0",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 176
  },
  "hsl": {
    "h": 254.497,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.21051,
    "h": 281.8
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#3F1BB0
secondary
#B0CB5C
accent
#F038C4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F1BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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