#3D2294#3D2294

#3D2294 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.173 H 285.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3D2294
RGBrgb(61, 34, 148)
HSLhsl(254, 63%, 36%)
HSVhsv(254, 77%, 58%)
CMYKcmyk(58.8%, 77%, 0%, 42%)
CIE-LABlab(24.56, 42.84, -57.90)
CIE-LCHlch(24.56, 72.02, 306.50°)
OKLaboklab(36.87% 0.0448 -0.1668)
OKLCHoklch(36.87% 0.173 285)
XYZxyz(7.8402, 4.2738, 28.4230)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2294 #799422
analogous
#224094 #3D2294 #762294
triadic
#3D2294 #943D22 #22943D
tetradic
#3D2294 #942240 #799422 #229476
square
#3D2294 #942240 #799422 #229476
split-complementary
#3D2294 #947622 #409422
monochromatic
#140B30 #281762 #3D2294 #522DC6 #7658D9

Accessibility & contrast

On white

11.32
#3D2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2294
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2294#FFFFFF#000000##FFFFFF
##3D22941.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#0E425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2294;
/* rgb */ color: rgb(61, 34, 148);
/* oklch */ color: oklch(36.9% 0.173 285.0);
Tailwind
colors: {
  custom: {
    50: '#7d61b5',
    500: '#3d2294',
    950: '#000000',
  },
}
SCSS
$custom: #3d2294;
$custom-light: #7d61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2294",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 254.211,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.17267,
    "h": 285
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#3D2294
secondary
#A4BD55
accent
#E642BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2294

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

Preview Lab → · Contrast checker → · Palette generator →

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