#3D1160#3D1160

#3D1160 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.130 H 304.8°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3D1160
RGBrgb(61, 17, 96)
HSLhsl(273, 70%, 22%)
HSVhsv(273, 82%, 38%)
CMYKcmyk(36.5%, 82.3%, 0%, 62.4%)
CIE-LABlab(16.69, 36.38, -37.55)
CIE-LCHlch(16.69, 52.28, 314.09°)
OKLaboklab(29.83% 0.0742 -0.107)
OKLCHoklch(29.83% 0.13 304.8)
XYZxyz(4.2358, 2.2375, 11.2728)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1160 #346011
analogous
#161160 #3D1160 #60115C
triadic
#3D1160 #603D11 #11603D
tetradic
#3D1160 #601611 #346011 #115C60
square
#3D1160 #601611 #346011 #115C60
split-complementary
#3D1160 #5C6011 #116016
monochromatic
#11051A #1C082C #3D1160 #5E1A94 #7F23C8

Accessibility & contrast

On white

14.51
#3D1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1160
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1160#FFFFFF#000000##FFFFFF
##3D11601.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.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: #3d1160;
/* rgb */ color: rgb(61, 17, 96);
/* oklch */ color: oklch(29.8% 0.130 304.8);
Tailwind
colors: {
  custom: {
    50: '#77558e',
    500: '#3d1160',
    950: '#000000',
  },
}
SCSS
$custom: #3d1160;
$custom-light: #77558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1160",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 273.418,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29826,
    "c": 0.13021,
    "h": 304.8
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#3D1160
secondary
#619934
accent
#ED3B8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1160

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

Preview Lab → · Contrast checker → · Palette generator →

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