#3D1367#3D1367

#3D1367 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.136 H 301.2°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#3D1367
RGBrgb(61, 19, 103)
HSLhsl(270, 69%, 24%)
HSVhsv(270, 82%, 40%)
CMYKcmyk(40.8%, 81.6%, 0%, 59.6%)
CIE-LABlab(17.63, 37.31, -40.64)
CIE-LCHlch(17.63, 55.17, 312.56°)
OKLaboklab(30.69% 0.0704 -0.1161)
OKLCHoklch(30.69% 0.136 301.2)
XYZxyz(4.6049, 2.4371, 13.0571)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1367 #3D6713
analogous
#131367 #3D1367 #671367
triadic
#3D1367 #673D13 #13673D
tetradic
#3D1367 #671313 #3D6713 #136767
square
#3D1367 #671313 #3D6713 #136767
split-complementary
#3D1367 #676713 #136713
monochromatic
#0F051A #1E0933 #3D1367 #5C1D9B #7A26CE

Accessibility & contrast

On white

14.12
#3D1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3D1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1367
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1367#FFFFFF#000000##FFFFFF
##3D13671.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#34293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1367;
/* rgb */ color: rgb(61, 19, 103);
/* oklch */ color: oklch(30.7% 0.136 301.2);
Tailwind
colors: {
  custom: {
    50: '#775693',
    500: '#3d1367',
    950: '#000000',
  },
}
SCSS
$custom: #3d1367;
$custom-light: #775693;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1367",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 270,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.13575,
    "h": 301.2
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#3D1367
secondary
#6B9E37
accent
#EC3C94
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1367

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

Preview Lab → · Contrast checker → · Palette generator →

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