#3D1D73#3D1D73

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

Color values

HEX#3D1D73
RGBrgb(61, 29, 115)
HSLhsl(262, 60%, 28%)
HSVhsv(262, 75%, 45%)
CMYKcmyk(47%, 74.8%, 0%, 54.9%)
CIE-LABlab(20.47, 35.68, -43.80)
CIE-LCHlch(20.47, 56.50, 309.17°)
OKLaboklab(33.03% 0.0575 -0.1254)
OKLCHoklch(33.03% 0.138 294.6)
XYZxyz(5.4575, 3.1085, 16.5288)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D73 #53731D
analogous
#1D2873 #3D1D73 #681D73
triadic
#3D1D73 #733D1D #1D733D
tetradic
#3D1D73 #731D28 #53731D #1D7368
square
#3D1D73 #731D28 #53731D #1D7368
split-complementary
#3D1D73 #73681D #28731D
monochromatic
#0D0618 #231142 #3D1D73 #5729A4 #733CCE

Accessibility & contrast

On white

12.95
#3D1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1D73
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D73#FFFFFF#000000##FFFFFF
##3D1D731.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#2E3346
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1d73;
/* rgb */ color: rgb(61, 29, 115);
/* oklch */ color: oklch(33.0% 0.138 294.6);
Tailwind
colors: {
  custom: {
    50: '#785c9c',
    500: '#3d1d73',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d73;
$custom-light: #785c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d73",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 262.326,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.13799,
    "h": 294.6
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#3D1D73
secondary
#83A745
accent
#E345A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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