#3D2273#3D2273

#3D2273 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.131 H 293.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#3D2273
RGBrgb(61, 34, 115)
HSLhsl(260, 54%, 29%)
HSVhsv(260, 70%, 45%)
CMYKcmyk(47%, 70.4%, 0%, 54.9%)
CIE-LABlab(21.48, 32.88, -42.16)
CIE-LCHlch(21.48, 53.47, 307.95°)
OKLaboklab(33.75% 0.0522 -0.1206)
OKLCHoklch(33.75% 0.131 293.4)
XYZxyz(5.5902, 3.3738, 16.5730)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2273 #587322
analogous
#223073 #3D2273 #662273
triadic
#3D2273 #733D22 #22733D
tetradic
#3D2273 #732230 #587322 #227366
square
#3D2273 #732230 #587322 #227366
split-complementary
#3D2273 #736622 #307322
monochromatic
#0D0718 #241444 #3D2273 #5630A2 #7247C9

Accessibility & contrast

On white

12.54
#3D2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3D2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2273
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2273#FFFFFF#000000##FFFFFF
##3D22731.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#2D3647
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d2273;
/* rgb */ color: rgb(61, 34, 115);
/* oklch */ color: oklch(33.7% 0.131 293.4);
Tailwind
colors: {
  custom: {
    50: '#785f9c',
    500: '#3d2273',
    950: '#000000',
  },
}
SCSS
$custom: #3d2273;
$custom-light: #785f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2273",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 260,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33748,
    "c": 0.13142,
    "h": 293.4
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#3D2273
secondary
#88A64B
accent
#DE4AAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2273

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

Preview Lab → · Contrast checker → · Palette generator →

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