#3D0F4B#3D0F4B

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

Color values

HEX#3D0F4B
RGBrgb(61, 15, 75)
HSLhsl(286, 67%, 18%)
HSVhsv(286, 80%, 29%)
CMYKcmyk(18.7%, 80%, 0%, 70.6%)
CIE-LABlab(14.63, 32.14, -26.66)
CIE-LCHlch(14.63, 41.76, 320.32°)
OKLaboklab(27.83% 0.0806 -0.075)
OKLCHoklch(27.83% 0.11 317.1)
XYZxyz(3.3651, 1.8419, 6.8335)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F4B #1D4B0F
analogous
#1F0F4B #3D0F4B #4B0F3B
triadic
#3D0F4B #4B3D0F #0F4B3D
tetradic
#3D0F4B #4B1F0F #1D4B0F #0F3B4B
square
#3D0F4B #4B1F0F #1D4B0F #0F3B4B
split-complementary
#3D0F4B #3B4B0F #0F4B1F
monochromatic
#15051A #15051A #3D0F4B #66197E #9023B1

Accessibility & contrast

On white

15.35
#3D0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F4B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F4B#FFFFFF#000000##FFFFFF
##3D0F4B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#3C1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0f4b;
/* rgb */ color: rgb(61, 15, 75);
/* oklch */ color: oklch(27.8% 0.110 317.1);
Tailwind
colors: {
  custom: {
    50: '#75537e',
    500: '#3d0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f4b;
$custom-light: #75537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f4b",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 286,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27827,
    "c": 0.11005,
    "h": 317.1
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#3D0F4B
secondary
#448530
accent
#EA3E66
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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