#3D1364#3D1364

#3D1364 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.132 H 302.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#3D1364
RGBrgb(61, 19, 100)
HSLhsl(271, 68%, 23%)
HSVhsv(271, 81%, 39%)
CMYKcmyk(39%, 81%, 0%, 60.8%)
CIE-LABlab(17.36, 36.52, -39.11)
CIE-LCHlch(17.36, 53.51, 313.04°)
OKLaboklab(30.41% 0.0712 -0.1116)
OKLCHoklch(30.41% 0.132 302.6)
XYZxyz(4.4570, 2.3779, 12.2783)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1364 #3A6413
analogous
#141364 #3D1364 #641362
triadic
#3D1364 #643D13 #13643D
tetradic
#3D1364 #641413 #3A6413 #136264
square
#3D1364 #641413 #3A6413 #136264
split-complementary
#3D1364 #626413 #136414
monochromatic
#10051A #1E0931 #3D1364 #5C1D97 #7C27CB

Accessibility & contrast

On white

14.23
#3D1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1364
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1364#FFFFFF#000000##FFFFFF
##3D13641.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#35283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1364;
/* rgb */ color: rgb(61, 19, 100);
/* oklch */ color: oklch(30.4% 0.132 302.6);
Tailwind
colors: {
  custom: {
    50: '#775691',
    500: '#3d1364',
    950: '#000000',
  },
}
SCSS
$custom: #3d1364;
$custom-light: #775691;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1364",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 271.111,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30408,
    "c": 0.13238,
    "h": 302.6
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#3D1364
secondary
#689C37
accent
#EB3D91
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1364

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

Preview Lab → · Contrast checker → · Palette generator →

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