#3D0D60#3D0D60

#3D0D60 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.134 H 305.4°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#3D0D60
RGBrgb(61, 13, 96)
HSLhsl(275, 76%, 21%)
HSVhsv(275, 86%, 38%)
CMYKcmyk(36.5%, 86.5%, 0%, 62.4%)
CIE-LABlab(16.13, 38.00, -38.47)
CIE-LCHlch(16.13, 54.07, 314.65°)
OKLaboklab(29.44% 0.0778 -0.1096)
OKLCHoklch(29.44% 0.134 305.4)
XYZxyz(4.1792, 2.1245, 11.2540)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D60 #30600D
analogous
#140D60 #3D0D60 #600D5A
triadic
#3D0D60 #603D0D #0D603D
tetradic
#3D0D60 #60140D #30600D #0D5A60
square
#3D0D60 #60140D #30600D #0D5A60
split-complementary
#3D0D60 #5A600D #0D6014
monochromatic
#11041B #1B062A #3D0D60 #5F1496 #821CCC

Accessibility & contrast

On white

14.74
#3D0D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D60
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D60#FFFFFF#000000##FFFFFF
##3D0D601.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#362437
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0d60;
/* rgb */ color: rgb(61, 13, 96);
/* oklch */ color: oklch(29.4% 0.134 305.4);
Tailwind
colors: {
  custom: {
    50: '#77538e',
    500: '#3d0d60',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d60;
$custom-light: #77538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d60",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 274.699,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29435,
    "c": 0.13442,
    "h": 305.4
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#3D0D60
secondary
#5C9A2F
accent
#F33585
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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