#3D0E5B#3D0E5B

#3D0E5B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.128 H 307.7°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#3D0E5B
RGBrgb(61, 14, 91)
HSLhsl(277, 73%, 21%)
HSVhsv(277, 85%, 36%)
CMYKcmyk(33%, 84.6%, 0%, 64.3%)
CIE-LABlab(15.81, 36.37, -35.65)
CIE-LCHlch(15.81, 50.93, 315.58°)
OKLaboklab(29.07% 0.0784 -0.1014)
OKLCHoklch(29.07% 0.128 307.7)
XYZxyz(3.9694, 2.0616, 10.0843)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E5B #2C5B0E
analogous
#160E5B #3D0E5B #5B0E52
triadic
#3D0E5B #5B3D0E #0E5B3D
tetradic
#3D0E5B #5B160E #2C5B0E #0E525B
square
#3D0E5B #5B160E #2C5B0E #0E525B
split-complementary
#3D0E5B #525B0E #0E5B16
monochromatic
#12041B #190626 #3D0E5B #611690 #841EC5

Accessibility & contrast

On white

14.87
#3D0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E5B
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E5B#FFFFFF#000000##FFFFFF
##3D0E5B1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#382235
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0e5b;
/* rgb */ color: rgb(61, 14, 91);
/* oklch */ color: oklch(29.1% 0.128 307.7);
Tailwind
colors: {
  custom: {
    50: '#76538a',
    500: '#3d0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e5b;
$custom-light: #76538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e5b",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 276.623,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29071,
    "c": 0.12814,
    "h": 307.7
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#3D0E5B
secondary
#579530
accent
#F03880
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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