#3D0F4C#3D0F4C

#3D0F4C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.111 H 316.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3D0F4C
RGBrgb(61, 15, 76)
HSLhsl(285, 67%, 18%)
HSVhsv(285, 80%, 30%)
CMYKcmyk(19.7%, 80.3%, 0%, 70.2%)
CIE-LABlab(14.71, 32.37, -27.23)
CIE-LCHlch(14.71, 42.30, 319.93°)
OKLaboklab(27.91% 0.0804 -0.0766)
OKLCHoklch(27.91% 0.111 316.4)
XYZxyz(3.3996, 1.8557, 7.0152)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F4C #1E4C0F
analogous
#1E0F4C #3D0F4C #4C0F3C
triadic
#3D0F4C #4C3D0F #0F4C3D
tetradic
#3D0F4C #4C1E0F #1E4C0F #0F3C4C
square
#3D0F4C #4C1E0F #1E4C0F #0F3C4C
split-complementary
#3D0F4C #3C4C0F #0F4C1E
monochromatic
#15051A #15051A #3D0F4C #66197F #8F23B2

Accessibility & contrast

On white

15.32
#3D0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F4C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F4C#FFFFFF#000000##FFFFFF
##3D0F4C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#0F264B
Tritanopia (blue-blind)
#3C1C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0f4c;
/* rgb */ color: rgb(61, 15, 76);
/* oklch */ color: oklch(27.9% 0.111 316.4);
Tailwind
colors: {
  custom: {
    50: '#75537e',
    500: '#3d0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f4c;
$custom-light: #75537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f4c",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 285.246,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27906,
    "c": 0.1111,
    "h": 316.4
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#3D0F4C
secondary
#468631
accent
#EA3E68
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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