#3D1155#3D1155

#3D1155 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.9% C 0.118 H 310.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#3D1155
RGBrgb(61, 17, 85)
HSLhsl(279, 67%, 20%)
HSVhsv(279, 80%, 33%)
CMYKcmyk(28.2%, 80%, 0%, 66.7%)
CIE-LABlab(15.74, 33.61, -31.71)
CIE-LCHlch(15.74, 46.21, 316.67°)
OKLaboklab(28.86% 0.0768 -0.0898)
OKLCHoklch(28.86% 0.118 310.5)
XYZxyz(3.7643, 2.0490, 8.7898)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1155 #295511
analogous
#1B1155 #3D1155 #55114B
triadic
#3D1155 #553D11 #11553D
tetradic
#3D1155 #551B11 #295511 #114B55
square
#3D1155 #551B11 #295511 #114B55
split-complementary
#3D1155 #4B5511 #11551B
monochromatic
#12051A #180722 #3D1155 #621B88 #8625BB

Accessibility & contrast

On white

14.90
#3D1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1155
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1155#FFFFFF#000000##FFFFFF
##3D11551.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#042854
Tritanopia (blue-blind)
#3A2132
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1155;
/* rgb */ color: rgb(61, 17, 85);
/* oklch */ color: oklch(28.9% 0.118 310.5);
Tailwind
colors: {
  custom: {
    50: '#765485',
    500: '#3d1155',
    950: '#000000',
  },
}
SCSS
$custom: #3d1155;
$custom-light: #765485;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1155",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 278.824,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.28864,
    "c": 0.11815,
    "h": 310.5
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#3D1155
secondary
#548E34
accent
#EA3E7B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1155

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

Preview Lab → · Contrast checker → · Palette generator →

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