#3D2276#3D2276

#3D2276 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.135 H 292.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#3D2276
RGBrgb(61, 34, 118)
HSLhsl(259, 55%, 30%)
HSVhsv(259, 71%, 46%)
CMYKcmyk(48.3%, 71.2%, 0%, 53.7%)
CIE-LABlab(21.74, 33.78, -43.66)
CIE-LCHlch(21.74, 55.21, 307.73°)
OKLaboklab(34.01% 0.0517 -0.125)
OKLCHoklch(34.01% 0.135 292.5)
XYZxyz(5.7656, 3.4440, 17.4970)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2276 #5B7622
analogous
#223176 #3D2276 #672276
triadic
#3D2276 #763D22 #22763D
tetradic
#3D2276 #762231 #5B7622 #227667
square
#3D2276 #762231 #5B7622 #227667
split-complementary
#3D2276 #766722 #317622
monochromatic
#0C0718 #241446 #3D2276 #5630A6 #7248CA

Accessibility & contrast

On white

12.43
#3D2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3D2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2276
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2276#FFFFFF#000000##FFFFFF
##3D22761.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#2C3749
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d2276;
/* rgb */ color: rgb(61, 34, 118);
/* oklch */ color: oklch(34.0% 0.135 292.5);
Tailwind
colors: {
  custom: {
    50: '#785f9e',
    500: '#3d2276',
    950: '#000000',
  },
}
SCSS
$custom: #3d2276;
$custom-light: #785f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2276",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 259.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34013,
    "c": 0.1353,
    "h": 292.5
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#3D2276
secondary
#8BA94B
accent
#DF49AF
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2276

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

Preview Lab → · Contrast checker → · Palette generator →

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