#3B1CA0#3B1CA0

#3B1CA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.192 H 282.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3B1CA0
RGBrgb(59, 28, 160)
HSLhsl(254, 70%, 37%)
HSVhsv(254, 83%, 63%)
CMYKcmyk(63.1%, 82.5%, 0%, 37.3%)
CIE-LABlab(24.63, 49.00, -65.14)
CIE-LCHlch(24.63, 81.51, 306.95°)
OKLaboklab(37.25% 0.0418 -0.1879)
OKLCHoklch(37.25% 0.192 282.5)
XYZxyz(8.5621, 4.2978, 33.6293)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1CA0 #81A01C
analogous
#1C3FA0 #3B1CA0 #7D1CA0
triadic
#3B1CA0 #A03B1C #1CA03B
tetradic
#3B1CA0 #A01C3F #81A01C #1CA07D
square
#3B1CA0 #A01C3F #81A01C #1CA07D
split-complementary
#3B1CA0 #A07D1C #3FA01C
monochromatic
#150A38 #28136C #3B1CA0 #4E25D4 #7655E1

Accessibility & contrast

On white

11.29
#3B1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3B1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1CA0
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1CA0#FFFFFF#000000##FFFFFF
##3B1CA01.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b1ca0;
/* rgb */ color: rgb(59, 28, 160);
/* oklch */ color: oklch(37.3% 0.192 282.5);
Tailwind
colors: {
  custom: {
    50: '#7f5ebd',
    500: '#3b1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #3b1ca0;
$custom-light: #7f5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1ca0",
  "rgb": {
    "r": 59,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 254.091,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.19247,
    "h": 282.5
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#3B1CA0
secondary
#AAC453
accent
#ED3BC3
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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