#3D2494#3D2494

#3D2494 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.171 H 284.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3D2494
RGBrgb(61, 36, 148)
HSLhsl(253, 61%, 36%)
HSVhsv(253, 76%, 58%)
CMYKcmyk(58.8%, 75.7%, 0%, 42%)
CIE-LABlab(24.93, 41.79, -57.29)
CIE-LCHlch(24.93, 70.91, 306.11°)
OKLaboklab(37.13% 0.0433 -0.165)
OKLCHoklch(37.13% 0.171 284.7)
XYZxyz(7.8990, 4.3915, 28.4426)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2494 #7B9424
analogous
#244394 #3D2494 #752494
triadic
#3D2494 #943D24 #24943D
tetradic
#3D2494 #942443 #7B9424 #249475
square
#3D2494 #942443 #7B9424 #249475
split-complementary
#3D2494 #947524 #439424
monochromatic
#140C32 #291863 #3D2494 #5130C5 #775BD7

Accessibility & contrast

On white

11.18
#3D2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2494
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2494#FFFFFF#000000##FFFFFF
##3D24941.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#0E435A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2494;
/* rgb */ color: rgb(61, 36, 148);
/* oklch */ color: oklch(37.1% 0.171 284.7);
Tailwind
colors: {
  custom: {
    50: '#7d62b4',
    500: '#3d2494',
    950: '#000000',
  },
}
SCSS
$custom: #3d2494;
$custom-light: #7d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2494",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 253.393,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.17058,
    "h": 284.7
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#3D2494
secondary
#A6BC58
accent
#E444C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2494

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

Preview Lab → · Contrast checker → · Palette generator →

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