#3D2292#3D2292

#3D2292 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.170 H 285.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3D2292
RGBrgb(61, 34, 146)
HSLhsl(254, 62%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(58.2%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.36, 42.24, -56.99)
CIE-LCHlch(24.36, 70.93, 306.55°)
OKLaboklab(36.67% 0.0453 -0.1641)
OKLCHoklch(36.67% 0.17 285.4)
XYZxyz(7.6832, 4.2110, 27.5965)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2292 #779222
analogous
#223F92 #3D2292 #752292
triadic
#3D2292 #923D22 #22923D
tetradic
#3D2292 #92223F #779222 #229275
square
#3D2292 #92223F #779222 #229275
split-complementary
#3D2292 #927522 #3F9222
monochromatic
#140B2F #281660 #3D2292 #522EC4 #7657D8

Accessibility & contrast

On white

11.40
#3D2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2292
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2292#FFFFFF#000000##FFFFFF
##3D22921.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#124158
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2292;
/* rgb */ color: rgb(61, 34, 146);
/* oklch */ color: oklch(36.7% 0.170 285.4);
Tailwind
colors: {
  custom: {
    50: '#7d60b3',
    500: '#3d2292',
    950: '#000000',
  },
}
SCSS
$custom: #3d2292;
$custom-light: #7d60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2292",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 254.464,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36671,
    "c": 0.17025,
    "h": 285.4
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#3D2292
secondary
#A3BC54
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2292

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

Preview Lab → · Contrast checker → · Palette generator →

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