#3D0A3F#3D0A3F

#3D0A3F is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.105 H 326.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#3D0A3F
RGBrgb(61, 10, 63)
HSLhsl(298, 73%, 14%)
HSVhsv(298, 84%, 25%)
CMYKcmyk(3.2%, 84.1%, 0%, 75.3%)
CIE-LABlab(13.04, 31.63, -20.83)
CIE-LCHlch(13.04, 37.87, 326.62°)
OKLaboklab(26.41% 0.0871 -0.0579)
OKLCHoklch(26.41% 0.105 326.4)
XYZxyz(2.9302, 1.5683, 4.8500)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A3F #0C3F0A
analogous
#230A3F #3D0A3F #3F0A27
triadic
#3D0A3F #3F3D0A #0A3F3D
tetradic
#3D0A3F #3F230A #0C3F0A #0A273F
square
#3D0A3F #3F230A #0C3F0A #0A273F
split-complementary
#3D0A3F #273F0A #0A3F23
monochromatic
#1A041A #1A041A #3D0A3F #701274 #A31BA9

Accessibility & contrast

On white

15.99
#3D0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3D0A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0A3F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A3F#FFFFFF#000000##FFFFFF
##3D0A3F1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E40
Deuteranopia (green-blind)
#17243E
Tritanopia (blue-blind)
#3F1324
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0a3f;
/* rgb */ color: rgb(61, 10, 63);
/* oklch */ color: oklch(26.4% 0.105 326.4);
Tailwind
colors: {
  custom: {
    50: '#755074',
    500: '#3d0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a3f;
$custom-light: #755074;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a3f",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 297.736,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26409,
    "c": 0.10458,
    "h": 326.4
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#3D0A3F
secondary
#2C7C29
accent
#EF383F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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