#3D0E56#3D0E56

#3D0E56 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.123 H 310.4°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3D0E56
RGBrgb(61, 14, 86)
HSLhsl(279, 72%, 20%)
HSVhsv(279, 84%, 34%)
CMYKcmyk(29.1%, 83.7%, 0%, 66.3%)
CIE-LABlab(15.37, 35.16, -32.99)
CIE-LCHlch(15.37, 48.21, 316.82°)
OKLaboklab(28.63% 0.0797 -0.0935)
OKLCHoklch(28.63% 0.123 310.4)
XYZxyz(3.7609, 1.9781, 8.9860)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E56 #27560E
analogous
#190E56 #3D0E56 #560E4B
triadic
#3D0E56 #563D0E #0E563D
tetradic
#3D0E56 #56190E #27560E #0E4B56
square
#3D0E56 #56190E #27560E #0E4B56
split-complementary
#3D0E56 #4B560E #0E5619
monochromatic
#13041A #180521 #3D0E56 #62178B #881FBF

Accessibility & contrast

On white

15.05
#3D0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D0E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0E56
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E56#FFFFFF#000000##FFFFFF
##3D0E561.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#3A2032
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0e56;
/* rgb */ color: rgb(61, 14, 86);
/* oklch */ color: oklch(28.6% 0.123 310.4);
Tailwind
colors: {
  custom: {
    50: '#765386',
    500: '#3d0e56',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e56;
$custom-light: #765386;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e56",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 279.167,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.12286,
    "h": 310.4
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#3D0E56
secondary
#519030
accent
#EF3978
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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