#3D0E5A#3D0E5A

#3D0E5A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.127 H 308.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#3D0E5A
RGBrgb(61, 14, 90)
HSLhsl(277, 73%, 20%)
HSVhsv(277, 84%, 35%)
CMYKcmyk(32.2%, 84.4%, 0%, 64.7%)
CIE-LABlab(15.72, 36.13, -35.12)
CIE-LCHlch(15.72, 50.39, 315.81°)
OKLaboklab(28.98% 0.0787 -0.0998)
OKLCHoklch(28.98% 0.127 308.2)
XYZxyz(3.9266, 2.0444, 9.8586)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E5A #2B5A0E
analogous
#170E5A #3D0E5A #5A0E51
triadic
#3D0E5A #5A3D0E #0E5A3D
tetradic
#3D0E5A #5A170E #2B5A0E #0E515A
square
#3D0E5A #5A170E #2B5A0E #0E515A
split-complementary
#3D0E5A #515A0E #0E5A17
monochromatic
#12041A #190625 #3D0E5A #61168F #851EC4

Accessibility & contrast

On white

14.91
#3D0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E5A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E5A#FFFFFF#000000##FFFFFF
##3D0E5A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#382134
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0e5a;
/* rgb */ color: rgb(61, 14, 90);
/* oklch */ color: oklch(29.0% 0.127 308.2);
Tailwind
colors: {
  custom: {
    50: '#765389',
    500: '#3d0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e5a;
$custom-light: #765389;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e5a",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 277.105,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28981,
    "c": 0.12708,
    "h": 308.2
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#3D0E5A
secondary
#569430
accent
#F0387E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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