#3D1353#3D1353

#3D1353 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.113 H 311.4°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#3D1353
RGBrgb(61, 19, 83)
HSLhsl(279, 63%, 20%)
HSVhsv(279, 77%, 33%)
CMYKcmyk(26.5%, 77.1%, 0%, 67.5%)
CIE-LABlab(15.91, 32.17, -30.08)
CIE-LCHlch(15.91, 44.04, 316.93°)
OKLaboklab(28.94% 0.0748 -0.085)
OKLCHoklch(28.94% 0.113 311.4)
XYZxyz(3.7184, 2.0825, 8.3880)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1353 #295313
analogous
#1D1353 #3D1353 #531349
triadic
#3D1353 #533D13 #13533D
tetradic
#3D1353 #531D13 #295313 #134953
square
#3D1353 #531D13 #295313 #134953
split-complementary
#3D1353 #495313 #13531D
monochromatic
#120619 #180821 #3D1353 #621E85 #862AB7

Accessibility & contrast

On white

14.83
#3D1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1353
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1353#FFFFFF#000000##FFFFFF
##3D13531.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#0A2852
Tritanopia (blue-blind)
#3A2131
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1353;
/* rgb */ color: rgb(61, 19, 83);
/* oklch */ color: oklch(28.9% 0.113 311.4);
Tailwind
colors: {
  custom: {
    50: '#755584',
    500: '#3d1353',
    950: '#000000',
  },
}
SCSS
$custom: #3d1353;
$custom-light: #755584;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1353",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 279.375,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.28935,
    "c": 0.11326,
    "h": 311.4
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#3D1353
secondary
#548B36
accent
#E6427A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1353

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

Preview Lab → · Contrast checker → · Palette generator →

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