#3D105E#3D105E

#3D105E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.129 H 305.9°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#3D105E
RGBrgb(61, 16, 94)
HSLhsl(275, 71%, 22%)
HSVhsv(275, 83%, 37%)
CMYKcmyk(35.1%, 83%, 0%, 63.1%)
CIE-LABlab(16.36, 36.30, -36.76)
CIE-LCHlch(16.36, 51.66, 314.64°)
OKLaboklab(29.54% 0.0757 -0.1046)
OKLCHoklch(29.54% 0.129 305.9)
XYZxyz(4.1297, 2.1709, 10.7890)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D105E #315E10
analogous
#16105E #3D105E #5E1058
triadic
#3D105E #5E3D10 #105E3D
tetradic
#3D105E #5E1610 #315E10 #10585E
square
#3D105E #5E1610 #315E10 #10585E
split-complementary
#3D105E #585E10 #105E16
monochromatic
#11041A #1B072A #3D105E #5F1992 #8122C7

Accessibility & contrast

On white

14.64
#3D105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D105E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D105E#FFFFFF#000000##FFFFFF
##3D105E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#372437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d105e;
/* rgb */ color: rgb(61, 16, 94);
/* oklch */ color: oklch(29.5% 0.129 305.9);
Tailwind
colors: {
  custom: {
    50: '#77548c',
    500: '#3d105e',
    950: '#000000',
  },
}
SCSS
$custom: #3d105e;
$custom-light: #77548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d105e",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 274.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.12915,
    "h": 305.9
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#3D105E
secondary
#5D9733
accent
#EE3A86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D105E

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

Preview Lab → · Contrast checker → · Palette generator →

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