#3D1462#3D1462

#3D1462 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.129 H 303.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3D1462
RGBrgb(61, 20, 98)
HSLhsl(272, 66%, 23%)
HSVhsv(272, 80%, 38%)
CMYKcmyk(37.8%, 79.6%, 0%, 61.6%)
CIE-LABlab(17.34, 35.53, -37.82)
CIE-LCHlch(17.34, 51.89, 313.22°)
OKLaboklab(30.34% 0.0708 -0.1078)
OKLCHoklch(30.34% 0.129 303.3)
XYZxyz(4.3787, 2.3743, 11.7805)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1462 #396214
analogous
#161462 #3D1462 #621460
triadic
#3D1462 #623D14 #14623D
tetradic
#3D1462 #621614 #396214 #146062
square
#3D1462 #621614 #396214 #146062
split-complementary
#3D1462 #606214 #146216
monochromatic
#100519 #1D0A2F #3D1462 #5D1E95 #7C29C8

Accessibility & contrast

On white

14.24
#3D1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D1462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1462
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1462#FFFFFF#000000##FFFFFF
##3D14621.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#35283A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1462;
/* rgb */ color: rgb(61, 20, 98);
/* oklch */ color: oklch(30.3% 0.129 303.3);
Tailwind
colors: {
  custom: {
    50: '#77568f',
    500: '#3d1462',
    950: '#000000',
  },
}
SCSS
$custom: #3d1462;
$custom-light: #77568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1462",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 271.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.12893,
    "h": 303.3
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#3D1462
secondary
#669938
accent
#E93F90
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1462

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

Preview Lab → · Contrast checker → · Palette generator →

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