#3D1C74#3D1C74

#3D1C74 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.140 H 294.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#3D1C74
RGBrgb(61, 28, 116)
HSLhsl(263, 61%, 28%)
HSVhsv(263, 76%, 45%)
CMYKcmyk(47.4%, 75.9%, 0%, 54.5%)
CIE-LABlab(20.37, 36.50, -44.61)
CIE-LCHlch(20.37, 57.64, 309.29°)
OKLaboklab(32.99% 0.0583 -0.1278)
OKLCHoklch(32.99% 0.14 294.5)
XYZxyz(5.4913, 3.0834, 16.8254)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C74 #53741C
analogous
#1C2774 #3D1C74 #691C74
triadic
#3D1C74 #743D1C #1C743D
tetradic
#3D1C74 #741C27 #53741C #1C7469
square
#3D1C74 #741C27 #53741C #1C7469
split-complementary
#3D1C74 #74691C #27741C
monochromatic
#0D0619 #231043 #3D1C74 #5728A5 #733BD0

Accessibility & contrast

On white

12.99
#3D1C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3D1C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C74
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C74#FFFFFF#000000##FFFFFF
##3D1C741.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#2D3346
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1c74;
/* rgb */ color: rgb(61, 28, 116);
/* oklch */ color: oklch(33.0% 0.140 294.5);
Tailwind
colors: {
  custom: {
    50: '#785c9d',
    500: '#3d1c74',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c74;
$custom-light: #785c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c74",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 262.5,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.14046,
    "h": 294.5
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#3D1C74
secondary
#83A843
accent
#E444A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1C74

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

Preview Lab → · Contrast checker → · Palette generator →

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