#3D0F4A#3D0F4A

#3D0F4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.109 H 317.7°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3D0F4A
RGBrgb(61, 15, 74)
HSLhsl(287, 66%, 17%)
HSVhsv(287, 80%, 29%)
CMYKcmyk(17.6%, 79.7%, 0%, 71%)
CIE-LABlab(14.56, 31.91, -26.09)
CIE-LCHlch(14.56, 41.22, 320.72°)
OKLaboklab(27.75% 0.0807 -0.0733)
OKLCHoklch(27.75% 0.109 317.7)
XYZxyz(3.3311, 1.8283, 6.6547)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F4A #1C4A0F
analogous
#200F4A #3D0F4A #4A0F39
triadic
#3D0F4A #4A3D0F #0F4A3D
tetradic
#3D0F4A #4A200F #1C4A0F #0F394A
square
#3D0F4A #4A200F #1C4A0F #0F394A
split-complementary
#3D0F4A #394A0F #0F4A20
monochromatic
#150519 #150519 #3D0F4A #67197D #9124B0

Accessibility & contrast

On white

15.38
#3D0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D0F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F4A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F4A#FFFFFF#000000##FFFFFF
##3D0F4A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#3D1B2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0f4a;
/* rgb */ color: rgb(61, 15, 74);
/* oklch */ color: oklch(27.8% 0.109 317.7);
Tailwind
colors: {
  custom: {
    50: '#75537d',
    500: '#3d0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f4a;
$custom-light: #75537d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f4a",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 286.78,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2775,
    "c": 0.109,
    "h": 317.7
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#3D0F4A
secondary
#438430
accent
#E93F64
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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