#3D1CA0#3D1CA0

#3D1CA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.192 H 283.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3D1CA0
RGBrgb(61, 28, 160)
HSLhsl(255, 70%, 37%)
HSVhsv(255, 83%, 63%)
CMYKcmyk(61.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(24.83, 49.21, -64.81)
CIE-LCHlch(24.83, 81.37, 307.21°)
OKLaboklab(37.44% 0.0449 -0.1869)
OKLCHoklch(37.44% 0.192 283.5)
XYZxyz(8.6829, 4.3601, 33.6349)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CA0 #7FA01C
analogous
#1C3DA0 #3D1CA0 #7F1CA0
triadic
#3D1CA0 #A03D1C #1CA03D
tetradic
#3D1CA0 #A01C3D #7FA01C #1CA07F
square
#3D1CA0 #A01C3D #7FA01C #1CA07F
split-complementary
#3D1CA0 #A07F1C #3DA01C
monochromatic
#150A38 #29136C #3D1CA0 #5125D4 #7855E1

Accessibility & contrast

On white

11.22
#3D1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1CA0
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CA0#FFFFFF#000000##FFFFFF
##3D1CA01.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1ca0;
/* rgb */ color: rgb(61, 28, 160);
/* oklch */ color: oklch(37.4% 0.192 283.5);
Tailwind
colors: {
  custom: {
    50: '#805ebd',
    500: '#3d1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ca0;
$custom-light: #805ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ca0",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 255,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.19218,
    "h": 283.5
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#3D1CA0
secondary
#A8C453
accent
#ED3BC0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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