#3D105A#3D105A

#3D105A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.125 H 307.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#3D105A
RGBrgb(61, 16, 90)
HSLhsl(276, 70%, 21%)
HSVhsv(276, 82%, 35%)
CMYKcmyk(32.2%, 82.2%, 0%, 64.7%)
CIE-LABlab(16.01, 35.29, -34.65)
CIE-LCHlch(16.01, 49.46, 315.53°)
OKLaboklab(29.18% 0.0767 -0.0984)
OKLCHoklch(29.18% 0.125 307.9)
XYZxyz(3.9548, 2.1009, 9.8681)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D105A #2D5A10
analogous
#18105A #3D105A #5A1052
triadic
#3D105A #5A3D10 #105A3D
tetradic
#3D105A #5A1810 #2D5A10 #10525A
square
#3D105A #5A1810 #2D5A10 #10525A
split-complementary
#3D105A #525A10 #105A18
monochromatic
#12051A #1A0726 #3D105A #60198E #8322C2

Accessibility & contrast

On white

14.79
#3D105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D105A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D105A#FFFFFF#000000##FFFFFF
##3D105A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#382234
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d105a;
/* rgb */ color: rgb(61, 16, 90);
/* oklch */ color: oklch(29.2% 0.125 307.9);
Tailwind
colors: {
  custom: {
    50: '#765489',
    500: '#3d105a',
    950: '#000000',
  },
}
SCSS
$custom: #3d105a;
$custom-light: #765489;
$custom-dark: #000000;
JSON
{
  "hex": "#3d105a",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 276.486,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29184,
    "c": 0.12482,
    "h": 307.9
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#3D105A
secondary
#589333
accent
#ED3B81
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D105A

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

Preview Lab → · Contrast checker → · Palette generator →

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