#3D108D#3D108D

#3D108D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.180 H 288.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#3D108D
RGBrgb(61, 16, 141)
HSLhsl(262, 80%, 31%)
HSVhsv(262, 89%, 55%)
CMYKcmyk(56.7%, 88.7%, 0%, 44.7%)
CIE-LABlab(21.15, 48.60, -59.17)
CIE-LCHlch(21.15, 76.57, 309.40°)
OKLaboklab(34.29% 0.0583 -0.1703)
OKLCHoklch(34.29% 0.18 288.9)
XYZxyz(6.9161, 3.2854, 25.4639)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D108D #608D10
analogous
#10218D #3D108D #7B108D
triadic
#3D108D #8D3D10 #108D3D
tetradic
#3D108D #8D1021 #608D10 #108D7B
square
#3D108D #8D1021 #608D10 #108D7B
split-complementary
#3D108D #8D7B10 #218D10
monochromatic
#0D041F #250A56 #3D108D #5516C4 #7230E7

Accessibility & contrast

On white

12.67
#3D108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3D108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D108D
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D108D#FFFFFF#000000##FFFFFF
##3D108D1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#1A3952
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d108d;
/* rgb */ color: rgb(61, 16, 141);
/* oklch */ color: oklch(34.3% 0.180 288.9);
Tailwind
colors: {
  custom: {
    50: '#7d58b0',
    500: '#3d108d',
    950: '#000000',
  },
}
SCSS
$custom: #3d108d;
$custom-light: #7d58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d108d",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 261.6,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.17998,
    "h": 288.9
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#3D108D
secondary
#90C237
accent
#F632AF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D108D

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

Preview Lab → · Contrast checker → · Palette generator →

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