#3D0C55#3D0C55

#3D0C55 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.4% C 0.124 H 311.3°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#3D0C55
RGBrgb(61, 12, 85)
HSLhsl(280, 75%, 19%)
HSVhsv(280, 86%, 33%)
CMYKcmyk(28.2%, 85.9%, 0%, 66.7%)
CIE-LABlab(15.01, 35.71, -32.89)
CIE-LCHlch(15.01, 48.55, 317.35°)
OKLaboklab(28.35% 0.0818 -0.0932)
OKLCHoklch(28.35% 0.124 311.3)
XYZxyz(3.6953, 1.9110, 8.7668)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C55 #24550C
analogous
#190C55 #3D0C55 #550C49
triadic
#3D0C55 #553D0C #0C553D
tetradic
#3D0C55 #55190C #24550C #0C4955
square
#3D0C55 #55190C #24550C #0C4955
split-complementary
#3D0C55 #49550C #0C5519
monochromatic
#13041B #17041F #3D0C55 #63148B #8A1BC0

Accessibility & contrast

On white

15.19
#3D0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C55
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C55#FFFFFF#000000##FFFFFF
##3D0C551.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#3A1E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0c55;
/* rgb */ color: rgb(61, 12, 85);
/* oklch */ color: oklch(28.4% 0.124 311.3);
Tailwind
colors: {
  custom: {
    50: '#765285',
    500: '#3d0c55',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c55;
$custom-light: #765285;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c55",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 280.274,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28351,
    "c": 0.12402,
    "h": 311.3
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#3D0C55
secondary
#4D902D
accent
#F23674
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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