#3D0D5E#3D0D5E

#3D0D5E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.132 H 306.3°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#3D0D5E
RGBrgb(61, 13, 94)
HSLhsl(276, 76%, 21%)
HSVhsv(276, 86%, 37%)
CMYKcmyk(35.1%, 86.2%, 0%, 63.1%)
CIE-LABlab(15.94, 37.50, -37.44)
CIE-LCHlch(15.94, 52.99, 315.05°)
OKLaboklab(29.25% 0.0784 -0.1066)
OKLCHoklch(29.25% 0.132 306.3)
XYZxyz(4.0883, 2.0881, 10.7752)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D5E #2E5E0D
analogous
#150D5E #3D0D5E #5E0D56
triadic
#3D0D5E #5E3D0D #0D5E3D
tetradic
#3D0D5E #5E150D #2E5E0D #0D565E
square
#3D0D5E #5E150D #2E5E0D #0D565E
split-complementary
#3D0D5E #565E0D #0D5E15
monochromatic
#11041B #1A0628 #3D0D5E #601494 #831CCA

Accessibility & contrast

On white

14.81
#3D0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D0D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D5E
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D5E#FFFFFF#000000##FFFFFF
##3D0D5E1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#372336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0d5e;
/* rgb */ color: rgb(61, 13, 94);
/* oklch */ color: oklch(29.3% 0.132 306.3);
Tailwind
colors: {
  custom: {
    50: '#77538c',
    500: '#3d0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d5e;
$custom-light: #77538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d5e",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 275.556,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2925,
    "c": 0.13233,
    "h": 306.3
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#3D0D5E
secondary
#5A982F
accent
#F23682
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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