#3D0F59#3D0F59

#3D0F59 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.125 H 308.6°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#3D0F59
RGBrgb(61, 15, 89)
HSLhsl(277, 71%, 20%)
HSVhsv(277, 83%, 35%)
CMYKcmyk(31.5%, 83.1%, 0%, 65.1%)
CIE-LABlab(15.77, 35.47, -34.36)
CIE-LCHlch(15.77, 49.38, 315.91°)
OKLaboklab(28.99% 0.078 -0.0976)
OKLCHoklch(28.99% 0.125 308.6)
XYZxyz(3.8981, 2.0551, 9.6406)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F59 #2B590F
analogous
#180F59 #3D0F59 #590F50
triadic
#3D0F59 #593D0F #0F593D
tetradic
#3D0F59 #59180F #2B590F #0F5059
square
#3D0F59 #59180F #2B590F #0F5059
split-complementary
#3D0F59 #50590F #0F5918
monochromatic
#12041A #190625 #3D0F59 #61188D #8521C2

Accessibility & contrast

On white

14.88
#3D0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D0F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F59
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F59#FFFFFF#000000##FFFFFF
##3D0F591.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#392134
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0f59;
/* rgb */ color: rgb(61, 15, 89);
/* oklch */ color: oklch(29.0% 0.125 308.6);
Tailwind
colors: {
  custom: {
    50: '#765388',
    500: '#3d0f59',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f59;
$custom-light: #765388;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f59",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 277.297,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28992,
    "c": 0.1249,
    "h": 308.6
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#3D0F59
secondary
#569331
accent
#EE3A7E
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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