#3D0F57#3D0F57

#3D0F57 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.123 H 309.7°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3D0F57
RGBrgb(61, 15, 87)
HSLhsl(278, 71%, 20%)
HSVhsv(278, 83%, 34%)
CMYKcmyk(29.9%, 82.8%, 0%, 65.9%)
CIE-LABlab(15.60, 34.98, -33.29)
CIE-LCHlch(15.60, 48.29, 316.42°)
OKLaboklab(28.82% 0.0785 -0.0944)
OKLCHoklch(28.82% 0.123 309.7)
XYZxyz(3.8152, 2.0219, 9.2043)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F57 #29570F
analogous
#190F57 #3D0F57 #570F4D
triadic
#3D0F57 #573D0F #0F573D
tetradic
#3D0F57 #57190F #29570F #0F4D57
square
#3D0F57 #57190F #29570F #0F4D57
split-complementary
#3D0F57 #4D570F #0F5719
monochromatic
#12051A #180623 #3D0F57 #62188B #8621BF

Accessibility & contrast

On white

14.95
#3D0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F57
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F57#FFFFFF#000000##FFFFFF
##3D0F571.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#392132
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0f57;
/* rgb */ color: rgb(61, 15, 87);
/* oklch */ color: oklch(28.8% 0.123 309.7);
Tailwind
colors: {
  custom: {
    50: '#765387',
    500: '#3d0f57',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f57;
$custom-light: #765387;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f57",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 278.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.28818,
    "c": 0.12277,
    "h": 309.7
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#3D0F57
secondary
#549131
accent
#ED3A7B
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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