#3D0F40#3D0F40

#3D0F40 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.099 H 325.3°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#3D0F40
RGBrgb(61, 15, 64)
HSLhsl(296, 62%, 15%)
HSVhsv(296, 77%, 25%)
CMYKcmyk(4.7%, 76.6%, 0%, 74.9%)
CIE-LABlab(13.85, 29.71, -20.24)
CIE-LCHlch(13.85, 35.95, 325.73°)
OKLaboklab(27.02% 0.0812 -0.0562)
OKLCHoklch(27.02% 0.099 325.3)
XYZxyz(3.0206, 1.7041, 5.0193)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F40 #12400F
analogous
#240F40 #3D0F40 #400F2A
triadic
#3D0F40 #403D0F #0F403D
tetradic
#3D0F40 #40240F #12400F #0F2A40
square
#3D0F40 #40240F #12400F #0F2A40
split-complementary
#3D0F40 #2A400F #0F4024
monochromatic
#180619 #180619 #3D0F40 #6C1B72 #9C26A3

Accessibility & contrast

On white

15.66
#3D0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F40
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F40#FFFFFF#000000##FFFFFF
##3D0F401.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052041
Deuteranopia (green-blind)
#19253F
Tritanopia (blue-blind)
#3F1726
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0f40;
/* rgb */ color: rgb(61, 15, 64);
/* oklch */ color: oklch(27.0% 0.099 325.3);
Tailwind
colors: {
  custom: {
    50: '#755275',
    500: '#3d0f40',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f40;
$custom-light: #755275;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f40",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 296.327,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27015,
    "c": 0.09874,
    "h": 325.3
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#3D0F40
secondary
#357A30
accent
#E5434D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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