#3D0D58#3D0D58

#3D0D58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.126 H 309.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#3D0D58
RGBrgb(61, 13, 88)
HSLhsl(278, 74%, 20%)
HSVhsv(278, 85%, 35%)
CMYKcmyk(30.7%, 85.2%, 0%, 65.5%)
CIE-LABlab(15.41, 36.04, -34.28)
CIE-LCHlch(15.41, 49.74, 316.43°)
OKLaboklab(28.71% 0.0801 -0.0973)
OKLCHoklch(28.71% 0.126 309.5)
XYZxyz(3.8295, 1.9846, 9.4120)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D58 #28580D
analogous
#180D58 #3D0D58 #580D4E
triadic
#3D0D58 #583D0D #0D583D
tetradic
#3D0D58 #58180D #28580D #0D4E58
square
#3D0D58 #58180D #28580D #0D4E58
split-complementary
#3D0D58 #4E580D #0D5818
monochromatic
#12041B #180523 #3D0D58 #62158D #871DC3

Accessibility & contrast

On white

15.03
#3D0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D58
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D58#FFFFFF#000000##FFFFFF
##3D0D581.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#392033
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0d58;
/* rgb */ color: rgb(61, 13, 88);
/* oklch */ color: oklch(28.7% 0.126 309.5);
Tailwind
colors: {
  custom: {
    50: '#765288',
    500: '#3d0d58',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d58;
$custom-light: #765288;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d58",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 278.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28707,
    "c": 0.12607,
    "h": 309.5
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#3D0D58
secondary
#52932E
accent
#F1377A
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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