#3F1BA0#3F1BA0

#3F1BA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.193 H 284.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#3F1BA0
RGBrgb(63, 27, 160)
HSLhsl(256, 71%, 37%)
HSVhsv(256, 83%, 63%)
CMYKcmyk(60.6%, 83.1%, 0%, 37.3%)
CIE-LABlab(24.88, 49.84, -64.71)
CIE-LCHlch(24.88, 81.68, 307.61°)
OKLaboklab(37.52% 0.0486 -0.1865)
OKLCHoklch(37.52% 0.193 284.6)
XYZxyz(8.7851, 4.3781, 33.6330)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1BA0 #7CA01B
analogous
#1B39A0 #3F1BA0 #821BA0
triadic
#3F1BA0 #A03F1B #1BA03F
tetradic
#3F1BA0 #A01B39 #7CA01B #1BA082
square
#3F1BA0 #A01B39 #7CA01B #1BA082
split-complementary
#3F1BA0 #A0821B #39A01B
monochromatic
#160937 #2A126C #3F1BA0 #5424D4 #7A53E2

Accessibility & contrast

On white

11.20
#3F1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1BA0
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1BA0#FFFFFF#000000##FFFFFF
##3F1BA01.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f1ba0;
/* rgb */ color: rgb(63, 27, 160);
/* oklch */ color: oklch(37.5% 0.193 284.6);
Tailwind
colors: {
  custom: {
    50: '#815ebd',
    500: '#3f1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ba0;
$custom-light: #815ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ba0",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 256.241,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.19273,
    "h": 284.6
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#3F1BA0
secondary
#A6C552
accent
#EE3ABD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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