#3D1E73#3D1E73

#3D1E73 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.137 H 294.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#3D1E73
RGBrgb(61, 30, 115)
HSLhsl(262, 59%, 28%)
HSVhsv(262, 74%, 45%)
CMYKcmyk(47%, 73.9%, 0%, 54.9%)
CIE-LABlab(20.67, 35.14, -43.49)
CIE-LCHlch(20.67, 55.91, 308.94°)
OKLaboklab(33.17% 0.0565 -0.1245)
OKLCHoklch(33.17% 0.137 294.4)
XYZxyz(5.4824, 3.1583, 16.5371)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E73 #54731E
analogous
#1E2973 #3D1E73 #671E73
triadic
#3D1E73 #733D1E #1E733D
tetradic
#3D1E73 #731E29 #54731E #1E7367
square
#3D1E73 #731E29 #54731E #1E7367
split-complementary
#3D1E73 #73671E #29731E
monochromatic
#0D0618 #231142 #3D1E73 #572BA4 #723FCD

Accessibility & contrast

On white

12.87
#3D1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3D1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E73
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E73#FFFFFF#000000##FFFFFF
##3D1E731.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#2E3446
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1e73;
/* rgb */ color: rgb(61, 30, 115);
/* oklch */ color: oklch(33.2% 0.137 294.4);
Tailwind
colors: {
  custom: {
    50: '#785d9c',
    500: '#3d1e73',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e73;
$custom-light: #785d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e73",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 261.882,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.13673,
    "h": 294.4
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#3D1E73
secondary
#84A746
accent
#E246A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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