#3D0F3F#3D0F3F

#3D0F3F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.098 H 326.1°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#3D0F3F
RGBrgb(61, 15, 63)
HSLhsl(298, 62%, 15%)
HSVhsv(298, 76%, 25%)
CMYKcmyk(3.2%, 76.2%, 0%, 75.3%)
CIE-LABlab(13.78, 29.50, -19.64)
CIE-LCHlch(13.78, 35.44, 326.34°)
OKLaboklab(26.95% 0.0812 -0.0545)
OKLCHoklch(26.95% 0.098 326.1)
XYZxyz(2.9924, 1.6928, 4.8708)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F3F #113F0F
analogous
#250F3F #3D0F3F #3F0F29
triadic
#3D0F3F #3F3D0F #0F3F3D
tetradic
#3D0F3F #3F250F #113F0F #0F293F
square
#3D0F3F #3F250F #113F0F #0F293F
split-complementary
#3D0F3F #293F0F #0F3F25
monochromatic
#180619 #180619 #3D0F3F #6D1B70 #9D27A2

Accessibility & contrast

On white

15.69
#3D0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3D0F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F3F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F3F#FFFFFF#000000##FFFFFF
##3D0F3F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#3F1625
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0f3f;
/* rgb */ color: rgb(61, 15, 63);
/* oklch */ color: oklch(26.9% 0.098 326.1);
Tailwind
colors: {
  custom: {
    50: '#755274',
    500: '#3d0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f3f;
$custom-light: #755274;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f3f",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 297.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26946,
    "c": 0.09774,
    "h": 326.1
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#3D0F3F
secondary
#337930
accent
#E5434A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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