#3D1373#3D1373

#3D1373 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.149 H 296.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3D1373
RGBrgb(61, 19, 115)
HSLhsl(266, 72%, 26%)
HSVhsv(266, 83%, 45%)
CMYKcmyk(47%, 83.5%, 0%, 54.9%)
CIE-LABlab(18.78, 40.51, -46.58)
CIE-LCHlch(18.78, 61.73, 311.02°)
OKLaboklab(31.84% 0.0666 -0.1335)
OKLCHoklch(31.84% 0.149 296.5)
XYZxyz(5.2510, 2.6955, 16.4600)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1373 #497313
analogous
#131973 #3D1373 #6D1373
triadic
#3D1373 #733D13 #13733D
tetradic
#3D1373 #731319 #497313 #13736D
square
#3D1373 #731319 #497313 #13736D
split-complementary
#3D1373 #736D13 #197313
monochromatic
#0E041A #210A3E #3D1373 #591CA8 #7525DB

Accessibility & contrast

On white

13.64
#3D1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3D1373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1373
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1373#FFFFFF#000000##FFFFFF
##3D13731.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#2E2E43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1373;
/* rgb */ color: rgb(61, 19, 115);
/* oklch */ color: oklch(31.8% 0.149 296.5);
Tailwind
colors: {
  custom: {
    50: '#79579c',
    500: '#3d1373',
    950: '#000000',
  },
}
SCSS
$custom: #3d1373;
$custom-light: #79579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1373",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 266.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31839,
    "c": 0.14917,
    "h": 296.5
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#3D1373
secondary
#78AA38
accent
#EE399F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1373

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

Preview Lab → · Contrast checker → · Palette generator →

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