#3D105B#3D105B

#3D105B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.126 H 307.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#3D105B
RGBrgb(61, 16, 91)
HSLhsl(276, 70%, 21%)
HSVhsv(276, 82%, 36%)
CMYKcmyk(33%, 82.4%, 0%, 64.3%)
CIE-LABlab(16.10, 35.54, -35.18)
CIE-LCHlch(16.10, 50.01, 315.29°)
OKLaboklab(29.27% 0.0765 -0.1)
OKLCHoklch(29.27% 0.126 307.4)
XYZxyz(3.9977, 2.1181, 10.0937)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D105B #2E5B10
analogous
#17105B #3D105B #5B1053
triadic
#3D105B #5B3D10 #105B3D
tetradic
#3D105B #5B1710 #2E5B10 #10535B
square
#3D105B #5B1710 #2E5B10 #10535B
split-complementary
#3D105B #535B10 #105B17
monochromatic
#11051A #1A0727 #3D105B #60198F #8322C3

Accessibility & contrast

On white

14.75
#3D105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D105B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D105B#FFFFFF#000000##FFFFFF
##3D105B1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#382335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d105b;
/* rgb */ color: rgb(61, 16, 91);
/* oklch */ color: oklch(29.3% 0.126 307.4);
Tailwind
colors: {
  custom: {
    50: '#76548a',
    500: '#3d105b',
    950: '#000000',
  },
}
SCSS
$custom: #3d105b;
$custom-light: #76548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d105b",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 276,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29273,
    "c": 0.12591,
    "h": 307.4
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#3D105B
secondary
#5A9433
accent
#ED3B82
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D105B

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

Preview Lab → · Contrast checker → · Palette generator →

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