#3D106A#3D106A

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

Color values

HEX#3D106A
RGBrgb(61, 16, 106)
HSLhsl(270, 74%, 24%)
HSVhsv(270, 85%, 42%)
CMYKcmyk(42.5%, 84.9%, 0%, 58.4%)
CIE-LABlab(17.48, 39.37, -42.86)
CIE-LCHlch(17.48, 58.20, 312.57°)
OKLaboklab(30.66% 0.0721 -0.1226)
OKLCHoklch(30.66% 0.142 300.4)
XYZxyz(4.7106, 2.4032, 13.8486)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D106A #3D6A10
analogous
#10106A #3D106A #6A106A
triadic
#3D106A #6A3D10 #106A3D
tetradic
#3D106A #6A1010 #3D6A10 #106A6A
square
#3D106A #6A1010 #3D6A10 #106A6A
split-complementary
#3D106A #6A6A10 #106A10
monochromatic
#0F041B #1E0835 #3D106A #5C189F #7A20D4

Accessibility & contrast

On white

14.18
#3D106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D106A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D106A#FFFFFF#000000##FFFFFF
##3D106A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#32293E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d106a;
/* rgb */ color: rgb(61, 16, 106);
/* oklch */ color: oklch(30.7% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#785595',
    500: '#3d106a',
    950: '#000000',
  },
}
SCSS
$custom: #3d106a;
$custom-light: #785595;
$custom-dark: #000000;
JSON
{
  "hex": "#3d106a",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30664,
    "c": 0.14218,
    "h": 300.4
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#3D106A
secondary
#6BA234
accent
#F03794
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D106A

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

Preview Lab → · Contrast checker → · Palette generator →

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