#3D1867#3D1867

#3D1867 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.130 H 300.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#3D1867
RGBrgb(61, 24, 103)
HSLhsl(268, 62%, 25%)
HSVhsv(268, 77%, 40%)
CMYKcmyk(40.8%, 76.7%, 0%, 59.6%)
CIE-LABlab(18.47, 34.92, -39.27)
CIE-LCHlch(18.47, 52.55, 311.64°)
OKLaboklab(31.28% 0.0654 -0.1121)
OKLCHoklch(31.28% 0.13 300.3)
XYZxyz(4.6987, 2.6246, 13.0884)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1867 #426718
analogous
#181B67 #3D1867 #641867
triadic
#3D1867 #673D18 #18673D
tetradic
#3D1867 #67181B #426718 #186764
square
#3D1867 #67181B #426718 #186764
split-complementary
#3D1867 #676418 #1B6718
monochromatic
#0F0619 #200C35 #3D1867 #5A2499 #782FCA

Accessibility & contrast

On white

13.77
#3D1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1867
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1867#FFFFFF#000000##FFFFFF
##3D18671.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#332C3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1867;
/* rgb */ color: rgb(61, 24, 103);
/* oklch */ color: oklch(31.3% 0.130 300.3);
Tailwind
colors: {
  custom: {
    50: '#775993',
    500: '#3d1867',
    950: '#000000',
  },
}
SCSS
$custom: #3d1867;
$custom-light: #775993;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1867",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 268.101,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31278,
    "c": 0.12977,
    "h": 300.3
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#3D1867
secondary
#709D3E
accent
#E54399
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1867

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

Preview Lab → · Contrast checker → · Palette generator →

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