#3D1CA1#3D1CA1

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

Color values

HEX#3D1CA1
RGBrgb(61, 28, 161)
HSLhsl(255, 70%, 37%)
HSVhsv(255, 83%, 63%)
CMYKcmyk(62.1%, 82.6%, 0%, 36.9%)
CIE-LABlab(24.94, 49.49, -65.23)
CIE-LCHlch(24.94, 81.88, 307.19°)
OKLaboklab(37.54% 0.0446 -0.1881)
OKLCHoklch(37.54% 0.193 283.3)
XYZxyz(8.7708, 4.3952, 34.0975)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CA1 #80A11C
analogous
#1C3EA1 #3D1CA1 #7F1CA1
triadic
#3D1CA1 #A13D1C #1CA13D
tetradic
#3D1CA1 #A11C3E #80A11C #1CA17F
square
#3D1CA1 #A11C3E #80A11C #1CA17F
split-complementary
#3D1CA1 #A17F1C #3EA11C
monochromatic
#150A39 #29136D #3D1CA1 #5125D5 #7856E2

Accessibility & contrast

On white

11.17
#3D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1CA1
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CA1#FFFFFF#000000##FFFFFF
##3D1CA11.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1ca1;
/* rgb */ color: rgb(61, 28, 161);
/* oklch */ color: oklch(37.5% 0.193 283.3);
Tailwind
colors: {
  custom: {
    50: '#805ebe',
    500: '#3d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ca1;
$custom-light: #805ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ca1",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 254.887,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.19331,
    "h": 283.3
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#3D1CA1
secondary
#A9C554
accent
#ED3BC1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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