#3D0E54#3D0E54

#3D0E54 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.5% C 0.121 H 311.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3D0E54
RGBrgb(61, 14, 84)
HSLhsl(280, 71%, 19%)
HSVhsv(280, 83%, 33%)
CMYKcmyk(27.4%, 83.3%, 0%, 67.1%)
CIE-LABlab(15.20, 34.67, -31.90)
CIE-LCHlch(15.20, 47.12, 317.38°)
OKLaboklab(28.46% 0.0801 -0.0903)
OKLCHoklch(28.46% 0.121 311.6)
XYZxyz(3.6814, 1.9464, 8.5675)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E54 #25540E
analogous
#1A0E54 #3D0E54 #540E48
triadic
#3D0E54 #543D0E #0E543D
tetradic
#3D0E54 #541A0E #25540E #0E4854
square
#3D0E54 #541A0E #25540E #0E4854
split-complementary
#3D0E54 #48540E #0E541A
monochromatic
#13041A #170520 #3D0E54 #631788 #891FBD

Accessibility & contrast

On white

15.12
#3D0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E54
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E54#FFFFFF#000000##FFFFFF
##3D0E541.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#022753
Tritanopia (blue-blind)
#3A1F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0e54;
/* rgb */ color: rgb(61, 14, 84);
/* oklch */ color: oklch(28.5% 0.121 311.6);
Tailwind
colors: {
  custom: {
    50: '#765385',
    500: '#3d0e54',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e54;
$custom-light: #765385;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e54",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 280.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.12075,
    "h": 311.6
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#3D0E54
secondary
#4F8E2F
accent
#EE3A75
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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