#3D1CA7#3D1CA7

#3D1CA7 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.2% C 0.200 H 282.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3D1CA7
RGBrgb(61, 28, 167)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 65%)
CMYKcmyk(63.5%, 83.2%, 0%, 34.5%)
CIE-LABlab(25.60, 51.20, -67.78)
CIE-LCHlch(25.60, 84.94, 307.07°)
OKLaboklab(38.2% 0.0425 -0.1955)
OKLCHoklch(38.2% 0.2 282.3)
XYZxyz(9.3126, 4.6119, 36.9512)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CA7 #86A71C
analogous
#1C40A7 #3D1CA7 #821CA7
triadic
#3D1CA7 #A73D1C #1CA73D
tetradic
#3D1CA7 #A71C40 #86A71C #1CA782
square
#3D1CA7 #A71C40 #86A71C #1CA782
split-complementary
#3D1CA7 #A7821C #40A71C
monochromatic
#170A3E #2A1373 #3D1CA7 #5126DB #7B5AE3

Accessibility & contrast

On white

10.92
#3D1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1CA7
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CA7#FFFFFF#000000##FFFFFF
##3D1CA71.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d1ca7;
/* rgb */ color: rgb(61, 28, 167);
/* oklch */ color: oklch(38.2% 0.200 282.3);
Tailwind
colors: {
  custom: {
    50: '#815fc2',
    500: '#3d1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ca7;
$custom-light: #815fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ca7",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 254.245,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.20009,
    "h": 282.3
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#3D1CA7
secondary
#ADC758
accent
#EE3AC3
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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