#3D1169#3D1169

#3D1169 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.140 H 300.7°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#3D1169
RGBrgb(61, 17, 105)
HSLhsl(270, 72%, 24%)
HSVhsv(270, 84%, 41%)
CMYKcmyk(41.9%, 83.8%, 0%, 58.8%)
CIE-LABlab(17.52, 38.70, -42.14)
CIE-LCHlch(17.52, 57.21, 312.57°)
OKLaboklab(30.67% 0.0716 -0.1204)
OKLCHoklch(30.67% 0.14 300.7)
XYZxyz(4.6741, 2.4129, 13.5813)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1169 #3D6911
analogous
#111169 #3D1169 #691169
triadic
#3D1169 #693D11 #11693D
tetradic
#3D1169 #691111 #3D6911 #116969
square
#3D1169 #691111 #3D6911 #116969
split-complementary
#3D1169 #696911 #116911
monochromatic
#0F041A #1E0834 #3D1169 #5C1A9E #7A22D2

Accessibility & contrast

On white

14.16
#3D1169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D1169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1169
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1169#FFFFFF#000000##FFFFFF
##3D11691.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#33293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1169;
/* rgb */ color: rgb(61, 17, 105);
/* oklch */ color: oklch(30.7% 0.140 300.7);
Tailwind
colors: {
  custom: {
    50: '#785595',
    500: '#3d1169',
    950: '#000000',
  },
}
SCSS
$custom: #3d1169;
$custom-light: #785595;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1169",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 105
  },
  "hsl": {
    "h": 270,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30665,
    "c": 0.1401,
    "h": 300.7
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#3D1169
secondary
#6BA135
accent
#EF3994
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1169

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

Preview Lab → · Contrast checker → · Palette generator →

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