#3D2492#3D2492

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

Color values

HEX#3D2492
RGBrgb(61, 36, 146)
HSLhsl(254, 60%, 36%)
HSVhsv(254, 75%, 57%)
CMYKcmyk(58.2%, 75.3%, 0%, 42.7%)
CIE-LABlab(24.73, 41.18, -56.38)
CIE-LCHlch(24.73, 69.82, 306.15°)
OKLaboklab(36.93% 0.0438 -0.1623)
OKLCHoklch(36.93% 0.168 285.1)
XYZxyz(7.7421, 4.3287, 27.6161)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2492 #799224
analogous
#244292 #3D2492 #742492
triadic
#3D2492 #923D24 #24923D
tetradic
#3D2492 #922442 #799224 #249274
square
#3D2492 #922442 #799224 #249274
split-complementary
#3D2492 #927424 #429224
monochromatic
#140C30 #281861 #3D2492 #5230C3 #765AD6

Accessibility & contrast

On white

11.26
#3D2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2492
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2492#FFFFFF#000000##FFFFFF
##3D24921.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#124259
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2492;
/* rgb */ color: rgb(61, 36, 146);
/* oklch */ color: oklch(36.9% 0.168 285.1);
Tailwind
colors: {
  custom: {
    50: '#7d62b3',
    500: '#3d2492',
    950: '#000000',
  },
}
SCSS
$custom: #3d2492;
$custom-light: #7d62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2492",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 253.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.16813,
    "h": 285.1
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#3D2492
secondary
#A4BB57
accent
#E444BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2492

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

Preview Lab → · Contrast checker → · Palette generator →

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