#3D1767#3D1767

#3D1767 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.131 H 300.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#3D1767
RGBrgb(61, 23, 103)
HSLhsl(269, 63%, 25%)
HSVhsv(269, 78%, 40%)
CMYKcmyk(40.8%, 77.7%, 0%, 59.6%)
CIE-LABlab(18.29, 35.42, -39.56)
CIE-LCHlch(18.29, 53.10, 311.84°)
OKLaboklab(31.15% 0.0665 -0.1129)
OKLCHoklch(31.15% 0.131 300.5)
XYZxyz(4.6784, 2.5841, 13.0816)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1767 #416717
analogous
#171967 #3D1767 #651767
triadic
#3D1767 #673D17 #17673D
tetradic
#3D1767 #671719 #416717 #176765
square
#3D1767 #671719 #416717 #176765
split-complementary
#3D1767 #676517 #196717
monochromatic
#0F0619 #1F0C35 #3D1767 #5B2299 #782DCB

Accessibility & contrast

On white

13.84
#3D1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3D1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1767
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1767#FFFFFF#000000##FFFFFF
##3D17671.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1767;
/* rgb */ color: rgb(61, 23, 103);
/* oklch */ color: oklch(31.2% 0.131 300.5);
Tailwind
colors: {
  custom: {
    50: '#775893',
    500: '#3d1767',
    950: '#000000',
  },
}
SCSS
$custom: #3d1767;
$custom-light: #775893;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1767",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 268.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31152,
    "c": 0.13103,
    "h": 300.5
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#3D1767
secondary
#6F9D3D
accent
#E74198
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1767

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

Preview Lab → · Contrast checker → · Palette generator →

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