#3D2296#3D2296

#3D2296 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.175 H 284.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#3D2296
RGBrgb(61, 34, 150)
HSLhsl(254, 63%, 36%)
HSVhsv(254, 77%, 59%)
CMYKcmyk(59.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(24.76, 43.44, -58.80)
CIE-LCHlch(24.76, 73.10, 306.46°)
OKLaboklab(37.07% 0.0442 -0.1694)
OKLCHoklch(37.07% 0.175 284.6)
XYZxyz(7.9998, 4.3377, 29.2640)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2296 #7B9622
analogous
#224196 #3D2296 #772296
triadic
#3D2296 #963D22 #22963D
tetradic
#3D2296 #962241 #7B9622 #229677
square
#3D2296 #962241 #7B9622 #229677
split-complementary
#3D2296 #967722 #419622
monochromatic
#140B32 #291764 #3D2296 #512DC8 #7759D9

Accessibility & contrast

On white

11.24
#3D2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2296
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2296#FFFFFF#000000##FFFFFF
##3D22961.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#09435B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2296;
/* rgb */ color: rgb(61, 34, 150);
/* oklch */ color: oklch(37.1% 0.175 284.6);
Tailwind
colors: {
  custom: {
    50: '#7e61b6',
    500: '#3d2296',
    950: '#000000',
  },
}
SCSS
$custom: #3d2296;
$custom-light: #7e61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2296",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 253.966,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37073,
    "c": 0.17507,
    "h": 284.6
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#3D2296
secondary
#A6BE56
accent
#E642C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2296

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

Preview Lab → · Contrast checker → · Palette generator →

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