#3D2183#3D2183

#3D2183 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.153 H 289.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#3D2183
RGBrgb(61, 33, 131)
HSLhsl(257, 60%, 32%)
HSVhsv(257, 75%, 51%)
CMYKcmyk(53.4%, 74.8%, 0%, 48.6%)
CIE-LABlab(22.72, 38.25, -50.32)
CIE-LCHlch(22.72, 63.21, 307.24°)
OKLaboklab(35.07% 0.05 -0.1446)
OKLCHoklch(35.07% 0.153 289.1)
XYZxyz(6.5639, 3.7182, 21.8402)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2183 #678321
analogous
#213683 #3D2183 #6E2183
triadic
#3D2183 #833D21 #21833D
tetradic
#3D2183 #832136 #678321 #21836E
square
#3D2183 #832136 #678321 #21836E
split-complementary
#3D2183 #836E21 #368321
monochromatic
#0F0821 #261552 #3D2183 #542DB4 #734CD2

Accessibility & contrast

On white

12.04
#3D2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2183
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2183#FFFFFF#000000##FFFFFF
##3D21831.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#233B50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2183;
/* rgb */ color: rgb(61, 33, 131);
/* oklch */ color: oklch(35.1% 0.153 289.1);
Tailwind
colors: {
  custom: {
    50: '#7a5fa8',
    500: '#3d2183',
    950: '#000000',
  },
}
SCSS
$custom: #3d2183;
$custom-light: #7a5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2183",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 257.143,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.15297,
    "h": 289.1
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#3D2183
secondary
#97B54B
accent
#E345B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2183

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

Preview Lab → · Contrast checker → · Palette generator →

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