#3D0F4F#3D0F4F

#3D0F4F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.114 H 314.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#3D0F4F
RGBrgb(61, 15, 79)
HSLhsl(283, 68%, 18%)
HSVhsv(283, 81%, 31%)
CMYKcmyk(22.8%, 81%, 0%, 69%)
CIE-LABlab(14.94, 33.06, -28.91)
CIE-LCHlch(14.94, 43.92, 318.83°)
OKLaboklab(28.15% 0.08 -0.0816)
OKLCHoklch(28.15% 0.114 314.4)
XYZxyz(3.5063, 1.8984, 7.5773)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F4F #214F0F
analogous
#1D0F4F #3D0F4F #4F0F41
triadic
#3D0F4F #4F3D0F #0F4F3D
tetradic
#3D0F4F #4F1D0F #214F0F #0F414F
square
#3D0F4F #4F1D0F #214F0F #0F414F
split-complementary
#3D0F4F #414F0F #0F4F1D
monochromatic
#14051A #15051C #3D0F4F #651982 #8C23B6

Accessibility & contrast

On white

15.22
#3D0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F4F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F4F#FFFFFF#000000##FFFFFF
##3D0F4F1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#3B1D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0f4f;
/* rgb */ color: rgb(61, 15, 79);
/* oklch */ color: oklch(28.1% 0.114 314.4);
Tailwind
colors: {
  custom: {
    50: '#755381',
    500: '#3d0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f4f;
$custom-light: #755381;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f4f",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 283.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28146,
    "c": 0.11426,
    "h": 314.4
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#3D0F4F
secondary
#4A8931
accent
#EB3D6E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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