#3D1458#3D1458

#3D1458 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.118 H 308.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#3D1458
RGBrgb(61, 20, 88)
HSLhsl(276, 63%, 21%)
HSVhsv(276, 77%, 35%)
CMYKcmyk(30.7%, 77.3%, 0%, 65.5%)
CIE-LABlab(16.49, 32.94, -32.53)
CIE-LCHlch(16.49, 46.29, 315.36°)
OKLaboklab(29.47% 0.0729 -0.0922)
OKLCHoklch(29.47% 0.118 308.3)
XYZxyz(3.9357, 2.1971, 9.4474)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1458 #2F5814
analogous
#1B1458 #3D1458 #581451
triadic
#3D1458 #583D14 #14583D
tetradic
#3D1458 #581B14 #2F5814 #145158
square
#3D1458 #581B14 #2F5814 #145158
split-complementary
#3D1458 #515814 #14581B
monochromatic
#110619 #1A0926 #3D1458 #601F8A #822BBC

Accessibility & contrast

On white

14.59
#3D1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D1458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1458
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1458#FFFFFF#000000##FFFFFF
##3D14581.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#032957
Tritanopia (blue-blind)
#392434
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d1458;
/* rgb */ color: rgb(61, 20, 88);
/* oklch */ color: oklch(29.5% 0.118 308.3);
Tailwind
colors: {
  custom: {
    50: '#765688',
    500: '#3d1458',
    950: '#000000',
  },
}
SCSS
$custom: #3d1458;
$custom-light: #765688;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1458",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 276.176,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29471,
    "c": 0.11754,
    "h": 308.3
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#3D1458
secondary
#5B9038
accent
#E64283
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1458

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

Preview Lab → · Contrast checker → · Palette generator →

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