#3D1667#3D1667

#3D1667 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.132 H 300.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#3D1667
RGBrgb(61, 22, 103)
HSLhsl(269, 65%, 25%)
HSVhsv(269, 79%, 40%)
CMYKcmyk(40.8%, 78.6%, 0%, 59.6%)
CIE-LABlab(18.12, 35.91, -39.84)
CIE-LCHlch(18.12, 53.64, 312.03°)
OKLaboklab(31.03% 0.0675 -0.1137)
OKLCHoklch(31.03% 0.132 300.7)
XYZxyz(4.6590, 2.5452, 13.0751)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1667 #406716
analogous
#161867 #3D1667 #661667
triadic
#3D1667 #673D16 #16673D
tetradic
#3D1667 #671618 #406716 #166766
square
#3D1667 #671618 #406716 #166766
split-complementary
#3D1667 #676616 #186716
monochromatic
#0F0519 #1F0B35 #3D1667 #5B2199 #792CCC

Accessibility & contrast

On white

13.92
#3D1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3D1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1667
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1667#FFFFFF#000000##FFFFFF
##3D16671.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#342B3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d1667;
/* rgb */ color: rgb(61, 22, 103);
/* oklch */ color: oklch(31.0% 0.132 300.7);
Tailwind
colors: {
  custom: {
    50: '#775893',
    500: '#3d1667',
    950: '#000000',
  },
}
SCSS
$custom: #3d1667;
$custom-light: #775893;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1667",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 268.889,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3103,
    "c": 0.13226,
    "h": 300.7
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#3D1667
secondary
#6E9E3B
accent
#E84097
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1667

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

Preview Lab → · Contrast checker → · Palette generator →

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