#3D0C53#3D0C53

#3D0C53 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.2% C 0.122 H 312.4°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3D0C53
RGBrgb(61, 12, 83)
HSLhsl(281, 75%, 19%)
HSVhsv(281, 86%, 33%)
CMYKcmyk(26.5%, 85.5%, 0%, 67.5%)
CIE-LABlab(14.84, 35.24, -31.81)
CIE-LCHlch(14.84, 47.47, 317.93°)
OKLaboklab(28.18% 0.0823 -0.0901)
OKLCHoklch(28.18% 0.122 312.4)
XYZxyz(3.6170, 1.8797, 8.3542)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C53 #22530C
analogous
#190C53 #3D0C53 #530C45
triadic
#3D0C53 #533D0C #0C533D
tetradic
#3D0C53 #53190C #22530C #0C4553
square
#3D0C53 #53190C #22530C #0C4553
split-complementary
#3D0C53 #45530C #0C5319
monochromatic
#14041B #16041E #3D0C53 #641488 #8C1BBE

Accessibility & contrast

On white

15.26
#3D0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0C53
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C53#FFFFFF#000000##FFFFFF
##3D0C531.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#022652
Tritanopia (blue-blind)
#3A1D30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0c53;
/* rgb */ color: rgb(61, 12, 83);
/* oklch */ color: oklch(28.2% 0.122 312.4);
Tailwind
colors: {
  custom: {
    50: '#765284',
    500: '#3d0c53',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c53;
$custom-light: #765284;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c53",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 281.408,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28178,
    "c": 0.12197,
    "h": 312.4
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#3D0C53
secondary
#4B8E2D
accent
#F13670
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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