#3D2280#3D2280

#3D2280 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.148 H 289.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#3D2280
RGBrgb(61, 34, 128)
HSLhsl(257, 58%, 32%)
HSVhsv(257, 73%, 50%)
CMYKcmyk(52.3%, 73.4%, 0%, 49.8%)
CIE-LABlab(22.63, 36.80, -48.56)
CIE-LCHlch(22.63, 60.93, 307.15°)
OKLaboklab(34.93% 0.0497 -0.1394)
OKLCHoklch(34.93% 0.148 289.6)
XYZxyz(6.3917, 3.6944, 20.7942)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2280 #658022
analogous
#223680 #3D2280 #6C2280
triadic
#3D2280 #803D22 #22803D
tetradic
#3D2280 #802236 #658022 #22806C
square
#3D2280 #802236 #658022 #22806C
split-complementary
#3D2280 #806C22 #368022
monochromatic
#0F081F #261550 #3D2280 #542FB0 #724DD0

Accessibility & contrast

On white

12.08
#3D2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2280
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2280#FFFFFF#000000##FFFFFF
##3D22801.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#253B4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2280;
/* rgb */ color: rgb(61, 34, 128);
/* oklch */ color: oklch(34.9% 0.148 289.6);
Tailwind
colors: {
  custom: {
    50: '#7a60a6',
    500: '#3d2280',
    950: '#000000',
  },
}
SCSS
$custom: #3d2280;
$custom-light: #7a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2280",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 257.234,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.14803,
    "h": 289.6
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#3D2280
secondary
#95B24B
accent
#E147B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D2280

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

Preview Lab → · Contrast checker → · Palette generator →

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