#3D0F4E#3D0F4E

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

Color values

HEX#3D0F4E
RGBrgb(61, 15, 78)
HSLhsl(284, 68%, 18%)
HSVhsv(284, 81%, 31%)
CMYKcmyk(21.8%, 80.8%, 0%, 69.4%)
CIE-LABlab(14.87, 32.83, -28.35)
CIE-LCHlch(14.87, 43.38, 319.18°)
OKLaboklab(28.07% 0.0802 -0.0799)
OKLCHoklch(28.07% 0.113 315.1)
XYZxyz(3.4702, 1.8839, 7.3871)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F4E #204E0F
analogous
#1E0F4E #3D0F4E #4E0F3F
triadic
#3D0F4E #4E3D0F #0F4E3D
tetradic
#3D0F4E #4E1E0F #204E0F #0F3F4E
square
#3D0F4E #4E1E0F #204E0F #0F3F4E
split-complementary
#3D0F4E #3F4E0F #0F4E1E
monochromatic
#14051A #15051B #3D0F4E #651981 #8D23B5

Accessibility & contrast

On white

15.25
#3D0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F4E
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F4E#FFFFFF#000000##FFFFFF
##3D0F4E1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0D274D
Tritanopia (blue-blind)
#3C1D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0f4e;
/* rgb */ color: rgb(61, 15, 78);
/* oklch */ color: oklch(28.1% 0.113 315.1);
Tailwind
colors: {
  custom: {
    50: '#755380',
    500: '#3d0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f4e;
$custom-light: #755380;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f4e",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 283.81,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28065,
    "c": 0.1132,
    "h": 315.1
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#3D0F4E
secondary
#488831
accent
#EB3D6C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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