#3D1081#3D1081

#3D1081 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 33.0% C 0.167 H 292.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#3D1081
RGBrgb(61, 16, 129)
HSLhsl(264, 78%, 28%)
HSVhsv(264, 88%, 51%)
CMYKcmyk(52.7%, 87.6%, 0%, 49.4%)
CIE-LABlab(19.83, 45.42, -53.80)
CIE-LCHlch(19.83, 70.41, 310.17°)
OKLaboklab(33% 0.0633 -0.1546)
OKLCHoklch(33% 0.167 292.3)
XYZxyz(6.0711, 2.9474, 21.0136)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1081 #548110
analogous
#101B81 #3D1081 #751081
triadic
#3D1081 #813D10 #10813D
tetradic
#3D1081 #81101B #548110 #108175
square
#3D1081 #81101B #548110 #108175
split-complementary
#3D1081 #817510 #1B8110
monochromatic
#0D031B #23094B #3D1081 #5717B7 #7227E4

Accessibility & contrast

On white

13.21
#3D1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3D1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1081
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1081#FFFFFF#000000##FFFFFF
##3D10811.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#26334B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1081;
/* rgb */ color: rgb(61, 16, 129);
/* oklch */ color: oklch(33.0% 0.167 292.3);
Tailwind
colors: {
  custom: {
    50: '#7b57a7',
    500: '#3d1081',
    950: '#000000',
  },
}
SCSS
$custom: #3d1081;
$custom-light: #7b57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1081",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 263.894,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.16706,
    "h": 292.3
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#3D1081
secondary
#84B736
accent
#F433A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #3D1081

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

Preview Lab → · Contrast checker → · Palette generator →

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