#3D1060#3D1060

#3D1060 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.131 H 304.9°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#3D1060
RGBrgb(61, 16, 96)
HSLhsl(274, 71%, 22%)
HSVhsv(274, 83%, 38%)
CMYKcmyk(36.5%, 83.3%, 0%, 62.4%)
CIE-LABlab(16.54, 36.80, -37.80)
CIE-LCHlch(16.54, 52.75, 314.24°)
OKLaboklab(29.72% 0.0752 -0.1077)
OKLCHoklch(29.72% 0.131 304.9)
XYZxyz(4.2206, 2.2072, 11.2678)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1060 #336010
analogous
#151060 #3D1060 #60105B
triadic
#3D1060 #603D10 #10603D
tetradic
#3D1060 #601510 #336010 #105B60
square
#3D1060 #601510 #336010 #105B60
split-complementary
#3D1060 #5B6010 #106015
monochromatic
#11041A #1C072C #3D1060 #5E1994 #8021C9

Accessibility & contrast

On white

14.57
#3D1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1060
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1060#FFFFFF#000000##FFFFFF
##3D10601.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#362538
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d1060;
/* rgb */ color: rgb(61, 16, 96);
/* oklch */ color: oklch(29.7% 0.131 304.9);
Tailwind
colors: {
  custom: {
    50: '#77548e',
    500: '#3d1060',
    950: '#000000',
  },
}
SCSS
$custom: #3d1060;
$custom-light: #77548e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1060",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 273.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.13132,
    "h": 304.9
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#3D1060
secondary
#609933
accent
#EE3A89
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1060

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

Preview Lab → · Contrast checker → · Palette generator →

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