#3D0C57#3D0C57

#3D0C57 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.126 H 310.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3D0C57
RGBrgb(61, 12, 87)
HSLhsl(279, 76%, 19%)
HSVhsv(279, 86%, 34%)
CMYKcmyk(29.9%, 86.2%, 0%, 65.9%)
CIE-LABlab(15.19, 36.18, -33.96)
CIE-LCHlch(15.19, 49.63, 316.81°)
OKLaboklab(28.53% 0.0813 -0.0964)
OKLCHoklch(28.53% 0.126 310.1)
XYZxyz(3.7759, 1.9432, 9.1912)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C57 #26570C
analogous
#180C57 #3D0C57 #570C4C
triadic
#3D0C57 #573D0C #0C573D
tetradic
#3D0C57 #57180C #26570C #0C4C57
square
#3D0C57 #57180C #26570C #0C4C57
split-complementary
#3D0C57 #4C570C #0C5718
monochromatic
#13041B #170521 #3D0C57 #63138D #881BC3

Accessibility & contrast

On white

15.12
#3D0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D0C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C57
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C57#FFFFFF#000000##FFFFFF
##3D0C571.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#391F32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0c57;
/* rgb */ color: rgb(61, 12, 87);
/* oklch */ color: oklch(28.5% 0.126 310.1);
Tailwind
colors: {
  custom: {
    50: '#765287',
    500: '#3d0c57',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c57;
$custom-light: #765287;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c57",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 279.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.12608,
    "h": 310.1
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#3D0C57
secondary
#50922D
accent
#F23577
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0C57

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

Preview Lab → · Contrast checker → · Palette generator →

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