#3D1CA6#3D1CA6

#3D1CA6 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.199 H 282.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3D1CA6
RGBrgb(61, 28, 166)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 65%)
CMYKcmyk(63.3%, 83.1%, 0%, 34.9%)
CIE-LABlab(25.49, 50.91, -67.36)
CIE-LCHlch(25.49, 84.44, 307.08°)
OKLaboklab(38.09% 0.0428 -0.1943)
OKLCHoklch(38.09% 0.199 282.4)
XYZxyz(9.2205, 4.5751, 36.4662)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CA6 #85A61C
analogous
#1C40A6 #3D1CA6 #821CA6
triadic
#3D1CA6 #A63D1C #1CA63D
tetradic
#3D1CA6 #A61C40 #85A61C #1CA682
square
#3D1CA6 #A61C40 #85A61C #1CA682
split-complementary
#3D1CA6 #A6821C #40A61C
monochromatic
#170A3D #2A1372 #3D1CA6 #5025DA #7A59E3

Accessibility & contrast

On white

10.96
#3D1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D1CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1CA6
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CA6#FFFFFF#000000##FFFFFF
##3D1CA61.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d1ca6;
/* rgb */ color: rgb(61, 28, 166);
/* oklch */ color: oklch(38.1% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#815fc2',
    500: '#3d1ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ca6;
$custom-light: #815fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ca6",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 254.348,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.19897,
    "h": 282.4
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#3D1CA6
secondary
#ACC757
accent
#EE3AC3
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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