#3D2C83#3D2C83

#3D2C83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.139 H 286.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#3D2C83
RGBrgb(61, 44, 131)
HSLhsl(252, 50%, 34%)
HSVhsv(252, 66%, 51%)
CMYKcmyk(53.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(25.05, 31.85, -46.51)
CIE-LCHlch(25.05, 56.37, 304.40°)
OKLaboklab(36.74% 0.0391 -0.1334)
OKLCHoklch(36.74% 0.139 286.3)
XYZxyz(6.9207, 4.4318, 21.9591)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C83 #72832C
analogous
#2C4783 #3D2C83 #692C83
triadic
#3D2C83 #833D2C #2C833D
tetradic
#3D2C83 #832C47 #72832C #2C8369
square
#3D2C83 #832C47 #72832C #2C8369
split-complementary
#3D2C83 #83692C #47832C
monochromatic
#120D27 #281D55 #3D2C83 #523BB1 #7560CA

Accessibility & contrast

On white

11.13
#3D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C83
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C83#FFFFFF#000000##FFFFFF
##3D2C831.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#224153
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2c83;
/* rgb */ color: rgb(61, 44, 131);
/* oklch */ color: oklch(36.7% 0.139 286.3);
Tailwind
colors: {
  custom: {
    50: '#7966a8',
    500: '#3d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c83;
$custom-light: #7966a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c83",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 251.724,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.13903,
    "h": 286.3
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#3D2C83
secondary
#9FB05B
accent
#D94FBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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