#3D1CA5#3D1CA5

#3D1CA5 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.198 H 282.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#3D1CA5
RGBrgb(61, 28, 165)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 65%)
CMYKcmyk(63%, 83%, 0%, 35.3%)
CIE-LABlab(25.38, 50.63, -66.94)
CIE-LCHlch(25.38, 83.93, 307.10°)
OKLaboklab(37.98% 0.0432 -0.1931)
OKLCHoklch(37.98% 0.198 282.6)
XYZxyz(9.1291, 4.5386, 35.9850)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CA5 #84A51C
analogous
#1C3FA5 #3D1CA5 #821CA5
triadic
#3D1CA5 #A53D1C #1CA53D
tetradic
#3D1CA5 #A51C3F #84A51C #1CA582
square
#3D1CA5 #A51C3F #84A51C #1CA582
split-complementary
#3D1CA5 #A5821C #3FA51C
monochromatic
#160A3C #2A1371 #3D1CA5 #5025D9 #7A59E3

Accessibility & contrast

On white

11.01
#3D1CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3D1CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1CA5
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CA5#FFFFFF#000000##FFFFFF
##3D1CA51.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d1ca5;
/* rgb */ color: rgb(61, 28, 165);
/* oklch */ color: oklch(38.0% 0.198 282.6);
Tailwind
colors: {
  custom: {
    50: '#815fc1',
    500: '#3d1ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ca5;
$custom-light: #815fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ca5",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 254.453,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37977,
    "c": 0.19784,
    "h": 282.6
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#3D1CA5
secondary
#ABC656
accent
#EE3AC2
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3D1CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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