#3D2289#3D2289

#3D2289 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.159 H 287.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3D2289
RGBrgb(61, 34, 137)
HSLhsl(256, 60%, 34%)
HSVhsv(256, 75%, 54%)
CMYKcmyk(55.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(23.48, 39.52, -52.84)
CIE-LCHlch(23.48, 65.98, 306.80°)
OKLaboklab(35.78% 0.0476 -0.1519)
OKLCHoklch(35.78% 0.159 287.4)
XYZxyz(7.0105, 3.9419, 24.0535)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2289 #6E8922
analogous
#223A89 #3D2289 #702289
triadic
#3D2289 #893D22 #22893D
tetradic
#3D2289 #89223A #6E8922 #228970
square
#3D2289 #89223A #6E8922 #228970
split-complementary
#3D2289 #897022 #3A8922
monochromatic
#110A27 #271658 #3D2289 #532EBA #7451D4

Accessibility & contrast

On white

11.74
#3D2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2289
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2289#FFFFFF#000000##FFFFFF
##3D22891.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#1E3E53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2289;
/* rgb */ color: rgb(61, 34, 137);
/* oklch */ color: oklch(35.8% 0.159 287.4);
Tailwind
colors: {
  custom: {
    50: '#7b60ac',
    500: '#3d2289',
    950: '#000000',
  },
}
SCSS
$custom: #3d2289;
$custom-light: #7b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2289",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 255.728,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35785,
    "c": 0.15924,
    "h": 287.4
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#3D2289
secondary
#9CB84F
accent
#E344BA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2289

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

Preview Lab → · Contrast checker → · Palette generator →

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