#3D1150#3D1150

#3D1150 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.113 H 313.5°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#3D1150
RGBrgb(61, 17, 80)
HSLhsl(282, 65%, 19%)
HSVhsv(282, 79%, 31%)
CMYKcmyk(23.7%, 78.8%, 0%, 68.6%)
CIE-LABlab(15.34, 32.40, -28.96)
CIE-LCHlch(15.34, 43.45, 318.21°)
OKLaboklab(28.45% 0.0776 -0.0817)
OKLCHoklch(28.45% 0.113 313.5)
XYZxyz(3.5726, 1.9723, 7.7804)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1150 #245011
analogous
#1E1150 #3D1150 #501144
triadic
#3D1150 #503D11 #11503D
tetradic
#3D1150 #501E11 #245011 #114450
square
#3D1150 #501E11 #245011 #114450
split-complementary
#3D1150 #445011 #11501E
monochromatic
#130519 #17061E #3D1150 #631C82 #8A26B5

Accessibility & contrast

On white

15.06
#3D1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1150
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1150#FFFFFF#000000##FFFFFF
##3D11501.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#0C274F
Tritanopia (blue-blind)
#3B1F2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d1150;
/* rgb */ color: rgb(61, 17, 80);
/* oklch */ color: oklch(28.5% 0.113 313.5);
Tailwind
colors: {
  custom: {
    50: '#755481',
    500: '#3d1150',
    950: '#000000',
  },
}
SCSS
$custom: #3d1150;
$custom-light: #755481;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1150",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 281.905,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28453,
    "c": 0.11269,
    "h": 313.5
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#3D1150
secondary
#4D8933
accent
#E84073
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D1150

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

Preview Lab → · Contrast checker → · Palette generator →

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