#3D2C8B#3D2C8B

#3D2C8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.150 H 284.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#3D2C8B
RGBrgb(61, 44, 139)
HSLhsl(251, 52%, 36%)
HSVhsv(251, 68%, 55%)
CMYKcmyk(56.1%, 68.3%, 0%, 45.5%)
CIE-LABlab(25.73, 34.41, -50.39)
CIE-LCHlch(25.73, 61.02, 304.33°)
OKLaboklab(37.45% 0.0381 -0.1448)
OKLCHoklch(37.45% 0.15 284.7)
XYZxyz(7.4839, 4.6571, 24.9257)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C8B #7A8B2C
analogous
#2C4A8B #3D2C8B #6C2C8B
triadic
#3D2C8B #8B3D2C #2C8B3D
tetradic
#3D2C8B #8B2C4A #7A8B2C #2C8B6C
square
#3D2C8B #8B2C4A #7A8B2C #2C8B6C
split-complementary
#3D2C8B #8B6C2C #4A8B2C
monochromatic
#140F2E #291D5D #3D2C8B #513BB9 #7764CE

Accessibility & contrast

On white

10.87
#3D2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C8B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C8B#FFFFFF#000000##FFFFFF
##3D2C8B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#1A4457
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2c8b;
/* rgb */ color: rgb(61, 44, 139);
/* oklch */ color: oklch(37.5% 0.150 284.7);
Tailwind
colors: {
  custom: {
    50: '#7b66ae',
    500: '#3d2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c8b;
$custom-light: #7b66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c8b",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 250.737,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.14974,
    "h": 284.7
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#3D2C8B
secondary
#A5B45F
accent
#DB4CC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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