#3D1AA1#3D1AA1

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

Color values

HEX#3D1AA1
RGBrgb(61, 26, 161)
HSLhsl(256, 72%, 37%)
HSVhsv(256, 84%, 63%)
CMYKcmyk(62.1%, 83.9%, 0%, 36.9%)
CIE-LABlab(24.65, 50.33, -65.71)
CIE-LCHlch(24.65, 82.77, 307.45°)
OKLaboklab(37.35% 0.0456 -0.1895)
OKLCHoklch(37.35% 0.195 283.5)
XYZxyz(8.7249, 4.3035, 34.0822)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1AA1 #7EA11A
analogous
#1A3AA1 #3D1AA1 #811AA1
triadic
#3D1AA1 #A13D1A #1AA13D
tetradic
#3D1AA1 #A11A3A #7EA11A #1AA181
square
#3D1AA1 #A11A3A #7EA11A #1AA181
split-complementary
#3D1AA1 #A1811A #3AA11A
monochromatic
#150938 #29116C #3D1AA1 #5123D6 #7852E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D1AA1#FFFFFF#000000##FFFFFF
##3D1AA11.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)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1aa1;
/* rgb */ color: rgb(61, 26, 161);
/* oklch */ color: oklch(37.3% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#805dbe',
    500: '#3d1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #3d1aa1;
$custom-light: #805dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1aa1",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 255.556,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.19487,
    "h": 283.5
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#3D1AA1
secondary
#A8C651
accent
#EF39C0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3D1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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