#3D0E5D#3D0E5D

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

Color values

HEX#3D0E5D
RGBrgb(61, 14, 93)
HSLhsl(276, 74%, 21%)
HSVhsv(276, 85%, 36%)
CMYKcmyk(34.4%, 84.9%, 0%, 63.5%)
CIE-LABlab(15.99, 36.87, -36.70)
CIE-LCHlch(15.99, 52.02, 315.13°)
OKLaboklab(29.25% 0.0778 -0.1044)
OKLCHoklch(29.25% 0.13 306.7)
XYZxyz(4.0569, 2.0965, 10.5448)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E5D #2E5D0E
analogous
#150E5D #3D0E5D #5D0E55
triadic
#3D0E5D #5D3D0E #0E5D3D
tetradic
#3D0E5D #5D150E #2E5D0E #0E555D
square
#3D0E5D #5D150E #2E5D0E #0E555D
split-complementary
#3D0E5D #555D0E #0E5D15
monochromatic
#11041B #1A0628 #3D0E5D #601692 #831EC7

Accessibility & contrast

On white

14.80
#3D0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E5D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E5D#FFFFFF#000000##FFFFFF
##3D0E5D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#372336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0e5d;
/* rgb */ color: rgb(61, 14, 93);
/* oklch */ color: oklch(29.3% 0.130 306.7);
Tailwind
colors: {
  custom: {
    50: '#77538c',
    500: '#3d0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e5d;
$custom-light: #77538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e5d",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 275.696,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.13025,
    "h": 306.7
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#3D0E5D
secondary
#5A9730
accent
#F03782
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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