#3B1481#3B1481

#3B1481 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.164 H 290.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3B1481
RGBrgb(59, 20, 129)
HSLhsl(261, 73%, 29%)
HSVhsv(261, 84%, 51%)
CMYKcmyk(54.3%, 84.5%, 0%, 49.4%)
CIE-LABlab(20.10, 43.64, -53.36)
CIE-LCHlch(20.10, 68.93, 309.27°)
OKLaboklab(33.13% 0.0575 -0.1534)
OKLCHoklch(33.13% 0.164 290.6)
XYZxyz(6.0151, 3.0148, 21.0296)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1481 #5A8114
analogous
#142481 #3B1481 #721481
triadic
#3B1481 #813B14 #14813B
tetradic
#3B1481 #811424 #5A8114 #148172
square
#3B1481 #811424 #5A8114 #148172
split-complementary
#3B1481 #817214 #248114
monochromatic
#0C041A #230C4C #3B1481 #531CB6 #6F30DF

Accessibility & contrast

On white

13.10
#3B1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3B1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1481
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1481#FFFFFF#000000##FFFFFF
##3B14811.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#21354C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b1481;
/* rgb */ color: rgb(59, 20, 129);
/* oklch */ color: oklch(33.1% 0.164 290.6);
Tailwind
colors: {
  custom: {
    50: '#7a58a7',
    500: '#3b1481',
    950: '#000000',
  },
}
SCSS
$custom: #3b1481;
$custom-light: #7a58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1481",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 261.468,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33131,
    "c": 0.16386,
    "h": 290.6
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#3B1481
secondary
#8AB63B
accent
#F038AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1481

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

Preview Lab → · Contrast checker → · Palette generator →

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