#3D2272#3D2272

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

Color values

HEX#3D2272
RGBrgb(61, 34, 114)
HSLhsl(260, 54%, 29%)
HSVhsv(260, 70%, 45%)
CMYKcmyk(46.5%, 70.2%, 0%, 55.3%)
CIE-LABlab(21.40, 32.58, -41.65)
CIE-LCHlch(21.40, 52.88, 308.03°)
OKLaboklab(33.66% 0.0523 -0.1191)
OKLCHoklch(33.66% 0.13 293.7)
XYZxyz(5.5329, 3.3509, 16.2716)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2272 #577222
analogous
#222F72 #3D2272 #652272
triadic
#3D2272 #723D22 #22723D
tetradic
#3D2272 #72222F #577222 #227265
square
#3D2272 #72222F #577222 #227265
split-complementary
#3D2272 #726522 #2F7222
monochromatic
#0D0718 #241443 #3D2272 #5630A1 #7246C8

Accessibility & contrast

On white

12.57
#3D2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2272
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2272#FFFFFF#000000##FFFFFF
##3D22721.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#2E3547
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d2272;
/* rgb */ color: rgb(61, 34, 114);
/* oklch */ color: oklch(33.7% 0.130 293.7);
Tailwind
colors: {
  custom: {
    50: '#785f9b',
    500: '#3d2272',
    950: '#000000',
  },
}
SCSS
$custom: #3d2272;
$custom-light: #785f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2272",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 260.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.13012,
    "h": 293.7
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#3D2272
secondary
#87A54B
accent
#DD4AAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2272

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

Preview Lab → · Contrast checker → · Palette generator →

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