#3D105C#3D105C

#3D105C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.127 H 306.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3D105C
RGBrgb(61, 16, 92)
HSLhsl(276, 70%, 21%)
HSVhsv(276, 83%, 36%)
CMYKcmyk(33.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(16.18, 35.79, -35.71)
CIE-LCHlch(16.18, 50.56, 315.07°)
OKLaboklab(29.36% 0.0763 -0.1015)
OKLCHoklch(29.36% 0.127 306.9)
XYZxyz(4.0411, 2.1354, 10.3224)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D105C #2F5C10
analogous
#17105C #3D105C #5C1055
triadic
#3D105C #5C3D10 #105C3D
tetradic
#3D105C #5C1710 #2F5C10 #10555C
square
#3D105C #5C1710 #2F5C10 #10555C
split-complementary
#3D105C #555C10 #105C17
monochromatic
#11051A #1A0728 #3D105C #601990 #8222C4

Accessibility & contrast

On white

14.72
#3D105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D105C
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D105C#FFFFFF#000000##FFFFFF
##3D105C1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#382336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d105c;
/* rgb */ color: rgb(61, 16, 92);
/* oklch */ color: oklch(29.4% 0.127 306.9);
Tailwind
colors: {
  custom: {
    50: '#76548b',
    500: '#3d105c',
    950: '#000000',
  },
}
SCSS
$custom: #3d105c;
$custom-light: #76548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d105c",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 275.526,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29361,
    "c": 0.12699,
    "h": 306.9
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#3D105C
secondary
#5B9533
accent
#ED3B83
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D105C

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

Preview Lab → · Contrast checker → · Palette generator →

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