#3D115D#3D115D

#3D115D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 306.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#3D115D
RGBrgb(61, 17, 93)
HSLhsl(275, 69%, 22%)
HSVhsv(275, 82%, 36%)
CMYKcmyk(34.4%, 81.7%, 0%, 63.5%)
CIE-LABlab(16.42, 35.61, -35.99)
CIE-LCHlch(16.42, 50.63, 314.70°)
OKLaboklab(29.56% 0.075 -0.1024)
OKLCHoklch(29.56% 0.127 306.2)
XYZxyz(4.1003, 2.1834, 10.5592)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D115D #315D11
analogous
#17115D #3D115D #5D1157
triadic
#3D115D #5D3D11 #115D3D
tetradic
#3D115D #5D1711 #315D11 #11575D
square
#3D115D #5D1711 #315D11 #11575D
split-complementary
#3D115D #575D11 #115D17
monochromatic
#11051A #1B0829 #3D115D #5F1A91 #8124C4

Accessibility & contrast

On white

14.62
#3D115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D115D
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D115D#FFFFFF#000000##FFFFFF
##3D115D1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#372436
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d115d;
/* rgb */ color: rgb(61, 17, 93);
/* oklch */ color: oklch(29.6% 0.127 306.2);
Tailwind
colors: {
  custom: {
    50: '#76558c',
    500: '#3d115d',
    950: '#000000',
  },
}
SCSS
$custom: #3d115d;
$custom-light: #76558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d115d",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 274.737,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29557,
    "c": 0.12692,
    "h": 306.2
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#3D115D
secondary
#5D9634
accent
#EC3C86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D115D

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

Preview Lab → · Contrast checker → · Palette generator →

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