#3D1950#3D1950

#3D1950 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.101 H 312.0°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#3D1950
RGBrgb(61, 25, 80)
HSLhsl(279, 52%, 21%)
HSVhsv(279, 69%, 31%)
CMYKcmyk(23.7%, 68.8%, 0%, 68.6%)
CIE-LABlab(16.83, 28.26, -26.57)
CIE-LCHlch(16.83, 38.78, 316.77°)
OKLaboklab(29.52% 0.0673 -0.0748)
OKLCHoklch(29.52% 0.101 312)
XYZxyz(3.7198, 2.2666, 7.8294)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1950 #2C5019
analogous
#211950 #3D1950 #501947
triadic
#3D1950 #503D19 #19503D
tetradic
#3D1950 #502119 #2C5019 #194750
square
#3D1950 #502119 #2C5019 #194750
split-complementary
#3D1950 #475019 #195021
monochromatic
#120717 #190A21 #3D1950 #61287F #8436AD

Accessibility & contrast

On white

14.45
#3D1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1950
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1950#FFFFFF#000000##FFFFFF
##3D19501.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#142A4F
Tritanopia (blue-blind)
#3B2432
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1950;
/* rgb */ color: rgb(61, 25, 80);
/* oklch */ color: oklch(29.5% 0.101 312.0);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3d1950',
    950: '#000000',
  },
}
SCSS
$custom: #3d1950;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1950",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 279.273,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2952,
    "c": 0.10058,
    "h": 312
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#3D1950
secondary
#57863E
accent
#DC4C7E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D1950

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

Preview Lab → · Contrast checker → · Palette generator →

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