#3D2284#3D2284

#3D2284 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.153 H 288.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#3D2284
RGBrgb(61, 34, 132)
HSLhsl(257, 59%, 33%)
HSVhsv(257, 74%, 52%)
CMYKcmyk(53.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(23.01, 38.01, -50.48)
CIE-LCHlch(23.01, 63.19, 306.98°)
OKLaboklab(35.31% 0.0488 -0.145)
OKLCHoklch(35.31% 0.153 288.6)
XYZxyz(6.6601, 3.8018, 22.2082)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2284 #698422
analogous
#223884 #3D2284 #6E2284
triadic
#3D2284 #843D22 #22843D
tetradic
#3D2284 #842238 #698422 #22846E
square
#3D2284 #842238 #698422 #22846E
split-complementary
#3D2284 #846E22 #388422
monochromatic
#100923 #271553 #3D2284 #532FB5 #734FD2

Accessibility & contrast

On white

11.93
#3D2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3D2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2284
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2284#FFFFFF#000000##FFFFFF
##3D22841.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#223C51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2284;
/* rgb */ color: rgb(61, 34, 132);
/* oklch */ color: oklch(35.3% 0.153 288.6);
Tailwind
colors: {
  custom: {
    50: '#7a60a9',
    500: '#3d2284',
    950: '#000000',
  },
}
SCSS
$custom: #3d2284;
$custom-light: #7a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2284",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 256.531,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35305,
    "c": 0.15304,
    "h": 288.6
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#3D2284
secondary
#98B54D
accent
#E246B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2284

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

Preview Lab → · Contrast checker → · Palette generator →

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