#3D1153#3D1153

#3D1153 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.116 H 311.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3D1153
RGBrgb(61, 17, 83)
HSLhsl(280, 66%, 20%)
HSVhsv(280, 80%, 33%)
CMYKcmyk(26.5%, 79.5%, 0%, 67.5%)
CIE-LABlab(15.58, 33.12, -30.62)
CIE-LCHlch(15.58, 45.11, 317.25°)
OKLaboklab(28.7% 0.0771 -0.0866)
OKLCHoklch(28.7% 0.116 311.7)
XYZxyz(3.6860, 2.0176, 8.3772)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1153 #275311
analogous
#1C1153 #3D1153 #531148
triadic
#3D1153 #533D11 #11533D
tetradic
#3D1153 #531C11 #275311 #114853
square
#3D1153 #531C11 #275311 #114853
split-complementary
#3D1153 #485311 #11531C
monochromatic
#130519 #180720 #3D1153 #621B86 #8826B9

Accessibility & contrast

On white

14.96
#3D1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D1153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1153
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1153#FFFFFF#000000##FFFFFF
##3D11531.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#072852
Tritanopia (blue-blind)
#3A2031
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1153;
/* rgb */ color: rgb(61, 17, 83);
/* oklch */ color: oklch(28.7% 0.116 311.7);
Tailwind
colors: {
  custom: {
    50: '#755484',
    500: '#3d1153',
    950: '#000000',
  },
}
SCSS
$custom: #3d1153;
$custom-light: #755484;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1153",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 280,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28697,
    "c": 0.11596,
    "h": 311.7
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#3D1153
secondary
#518C34
accent
#E93F78
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1153

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

Preview Lab → · Contrast checker → · Palette generator →

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