#3D1071#3D1071

#3D1071 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.150 H 297.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#3D1071
RGBrgb(61, 16, 113)
HSLhsl(268, 75%, 25%)
HSVhsv(268, 86%, 44%)
CMYKcmyk(46%, 85.8%, 0%, 55.7%)
CIE-LABlab(18.16, 41.20, -46.29)
CIE-LCHlch(18.16, 61.97, 311.67°)
OKLaboklab(31.35% 0.0696 -0.1326)
OKLCHoklch(31.35% 0.15 297.7)
XYZxyz(5.0896, 2.5548, 15.8446)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1071 #447110
analogous
#101371 #3D1071 #6D1071
triadic
#3D1071 #713D10 #10713D
tetradic
#3D1071 #711013 #447110 #10716D
square
#3D1071 #711013 #447110 #10716D
split-complementary
#3D1071 #716D10 #137110
monochromatic
#0E041B #20083B #3D1071 #5A18A7 #771FDC

Accessibility & contrast

On white

13.90
#3D1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3D1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1071
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1071#FFFFFF#000000##FFFFFF
##3D10711.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#2F2C42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1071;
/* rgb */ color: rgb(61, 16, 113);
/* oklch */ color: oklch(31.4% 0.150 297.7);
Tailwind
colors: {
  custom: {
    50: '#79559b',
    500: '#3d1071',
    950: '#000000',
  },
}
SCSS
$custom: #3d1071;
$custom-light: #79559b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1071",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 267.835,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31352,
    "c": 0.14976,
    "h": 297.7
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#3D1071
secondary
#73A934
accent
#F2369B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1071

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

Preview Lab → · Contrast checker → · Palette generator →

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