#3D1673#3D1673

#3D1673 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.146 H 296.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3D1673
RGBrgb(61, 22, 115)
HSLhsl(265, 68%, 27%)
HSVhsv(265, 81%, 45%)
CMYKcmyk(47%, 80.9%, 0%, 54.9%)
CIE-LABlab(19.24, 39.19, -45.82)
CIE-LCHlch(19.24, 60.29, 310.54°)
OKLaboklab(32.16% 0.0641 -0.1313)
OKLCHoklch(32.16% 0.146 296)
XYZxyz(5.3051, 2.8036, 16.4780)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1673 #4C7316
analogous
#161E73 #3D1673 #6C1673
triadic
#3D1673 #733D16 #16733D
tetradic
#3D1673 #73161E #4C7316 #16736C
square
#3D1673 #73161E #4C7316 #16736C
split-complementary
#3D1673 #736C16 #1E7316
monochromatic
#0E051A #220C40 #3D1673 #5820A6 #742DD7

Accessibility & contrast

On white

13.45
#3D1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1673
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1673#FFFFFF#000000##FFFFFF
##3D16731.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#2E3044
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d1673;
/* rgb */ color: rgb(61, 22, 115);
/* oklch */ color: oklch(32.2% 0.146 296.0);
Tailwind
colors: {
  custom: {
    50: '#79589c',
    500: '#3d1673',
    950: '#000000',
  },
}
SCSS
$custom: #3d1673;
$custom-light: #79589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1673",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 265.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.14612,
    "h": 296
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#3D1673
secondary
#7BA93C
accent
#EB3DA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1673

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

Preview Lab → · Contrast checker → · Palette generator →

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