#3D2092#3D2092

#3D2092 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.172 H 285.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#3D2092
RGBrgb(61, 32, 146)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 57%)
CMYKcmyk(58.2%, 78.1%, 0%, 42.7%)
CIE-LABlab(24.00, 43.26, -57.58)
CIE-LCHlch(24.00, 72.02, 306.92°)
OKLaboklab(36.42% 0.0468 -0.1658)
OKLCHoklch(36.42% 0.172 285.8)
XYZxyz(7.6277, 4.1000, 27.5780)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2092 #759220
analogous
#203C92 #3D2092 #762092
triadic
#3D2092 #923D20 #20923D
tetradic
#3D2092 #92203C #759220 #209276
square
#3D2092 #92203C #759220 #209276
split-complementary
#3D2092 #927620 #3C9220
monochromatic
#130A2E #281560 #3D2092 #522BC4 #7553D9

Accessibility & contrast

On white

11.54
#3D2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2092
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2092#FFFFFF#000000##FFFFFF
##3D20921.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#124158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2092;
/* rgb */ color: rgb(61, 32, 146);
/* oklch */ color: oklch(36.4% 0.172 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d5fb3',
    500: '#3d2092',
    950: '#000000',
  },
}
SCSS
$custom: #3d2092;
$custom-light: #7d5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2092",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 255.263,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.17229,
    "h": 285.8
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#3D2092
secondary
#A1BD51
accent
#E741BD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2092

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

Preview Lab → · Contrast checker → · Palette generator →

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