#3D1066#3D1066

#3D1066 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.138 H 302.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#3D1066
RGBrgb(61, 16, 102)
HSLhsl(271, 73%, 23%)
HSVhsv(271, 84%, 40%)
CMYKcmyk(40.2%, 84.3%, 0%, 60%)
CIE-LABlab(17.09, 38.34, -40.86)
CIE-LCHlch(17.09, 56.03, 313.17°)
OKLaboklab(30.28% 0.0734 -0.1167)
OKLCHoklch(30.28% 0.138 302.2)
XYZxyz(4.5075, 2.3220, 12.7785)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1066 #396610
analogous
#121066 #3D1066 #661064
triadic
#3D1066 #663D10 #10663D
tetradic
#3D1066 #661210 #396610 #106466
square
#3D1066 #661210 #396610 #106466
split-complementary
#3D1066 #646610 #106612
monochromatic
#10041A #1D0831 #3D1066 #5D189B #7C21D0

Accessibility & contrast

On white

14.34
#3D1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1066
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1066#FFFFFF#000000##FFFFFF
##3D10661.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#34283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1066;
/* rgb */ color: rgb(61, 16, 102);
/* oklch */ color: oklch(30.3% 0.138 302.2);
Tailwind
colors: {
  custom: {
    50: '#775592',
    500: '#3d1066',
    950: '#000000',
  },
}
SCSS
$custom: #3d1066;
$custom-light: #775592;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1066",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 271.395,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.13783,
    "h": 302.2
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#3D1066
secondary
#669E33
accent
#F03890
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1066

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

Preview Lab → · Contrast checker → · Palette generator →

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