#3D1672#3D1672

#3D1672 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.145 H 296.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#3D1672
RGBrgb(61, 22, 114)
HSLhsl(265, 68%, 27%)
HSVhsv(265, 81%, 45%)
CMYKcmyk(46.5%, 80.7%, 0%, 55.3%)
CIE-LABlab(19.14, 38.91, -45.33)
CIE-LCHlch(19.14, 59.74, 310.64°)
OKLaboklab(32.06% 0.0644 -0.1299)
OKLCHoklch(32.06% 0.145 296.4)
XYZxyz(5.2478, 2.7807, 16.1766)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1672 #4B7216
analogous
#161D72 #3D1672 #6B1672
triadic
#3D1672 #723D16 #16723D
tetradic
#3D1672 #72161D #4B7216 #16726B
square
#3D1672 #72161D #4B7216 #16726B
split-complementary
#3D1672 #726B16 #1D7216
monochromatic
#0E051A #220C3F #3D1672 #5820A5 #742CD6

Accessibility & contrast

On white

13.49
#3D1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1672
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1672#FFFFFF#000000##FFFFFF
##3D16721.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#2F2F43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1672;
/* rgb */ color: rgb(61, 22, 114);
/* oklch */ color: oklch(32.1% 0.145 296.4);
Tailwind
colors: {
  custom: {
    50: '#79589b',
    500: '#3d1672',
    950: '#000000',
  },
}
SCSS
$custom: #3d1672;
$custom-light: #79589b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1672",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 265.435,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.14497,
    "h": 296.4
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#3D1672
secondary
#7AA83C
accent
#EB3DA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1672

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

Preview Lab → · Contrast checker → · Palette generator →

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