#3D1855#3D1855

#3D1855 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.108 H 309.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#3D1855
RGBrgb(61, 24, 85)
HSLhsl(276, 56%, 21%)
HSVhsv(276, 72%, 33%)
CMYKcmyk(28.2%, 71.8%, 0%, 66.7%)
CIE-LABlab(17.00, 30.10, -29.69)
CIE-LCHlch(17.00, 42.27, 315.39°)
OKLaboklab(29.76% 0.0683 -0.0839)
OKLCHoklch(29.76% 0.108 309.2)
XYZxyz(3.8905, 2.3013, 8.8318)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1855 #305518
analogous
#1F1855 #3D1855 #55184F
triadic
#3D1855 #553D18 #18553D
tetradic
#3D1855 #551F18 #305518 #184F55
square
#3D1855 #551F18 #305518 #184F55
split-complementary
#3D1855 #4F5518 #18551F
monochromatic
#110718 #1B0B25 #3D1855 #5F2585 #8133B4

Accessibility & contrast

On white

14.38
#3D1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D1855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1855
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1855#FFFFFF#000000##FFFFFF
##3D18551.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#0E2A54
Tritanopia (blue-blind)
#3A2534
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1855;
/* rgb */ color: rgb(61, 24, 85);
/* oklch */ color: oklch(29.8% 0.108 309.2);
Tailwind
colors: {
  custom: {
    50: '#755885',
    500: '#3d1855',
    950: '#000000',
  },
}
SCSS
$custom: #3d1855;
$custom-light: #755885;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1855",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 276.393,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29758,
    "c": 0.10821,
    "h": 309.2
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#3D1855
secondary
#5C8C3D
accent
#DF4984
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1855

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

Preview Lab → · Contrast checker → · Palette generator →

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