#3D1753#3D1753

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

Color values

HEX#3D1753
RGBrgb(61, 23, 83)
HSLhsl(278, 57%, 21%)
HSVhsv(278, 72%, 33%)
CMYKcmyk(26.5%, 72.3%, 0%, 67.5%)
CIE-LABlab(16.65, 30.12, -28.89)
CIE-LCHlch(16.65, 41.74, 316.19°)
OKLaboklab(29.46% 0.0698 -0.0816)
OKLCHoklch(29.46% 0.107 310.6)
XYZxyz(3.7919, 2.2295, 8.4125)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1753 #2D5317
analogous
#1F1753 #3D1753 #53174B
triadic
#3D1753 #533D17 #17533D
tetradic
#3D1753 #531F17 #2D5317 #174B53
square
#3D1753 #531F17 #2D5317 #174B53
split-complementary
#3D1753 #4B5317 #17531F
monochromatic
#120718 #1A0A23 #3D1753 #602483 #8332B3

Accessibility & contrast

On white

14.52
#3D1753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D1753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1753
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1753#FFFFFF#000000##FFFFFF
##3D17531.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#0F2A52
Tritanopia (blue-blind)
#3A2332
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d1753;
/* rgb */ color: rgb(61, 23, 83);
/* oklch */ color: oklch(29.5% 0.107 310.6);
Tailwind
colors: {
  custom: {
    50: '#755784',
    500: '#3d1753',
    950: '#000000',
  },
}
SCSS
$custom: #3d1753;
$custom-light: #755784;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1753",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 278,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29461,
    "c": 0.10737,
    "h": 310.6
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#3D1753
secondary
#588A3C
accent
#E04880
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3D1753

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

Preview Lab → · Contrast checker → · Palette generator →

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