#3D2D89#3D2D89

#3D2D89 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.146 H 284.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3D2D89
RGBrgb(61, 45, 137)
HSLhsl(250, 51%, 36%)
HSVhsv(250, 67%, 54%)
CMYKcmyk(55.5%, 67.2%, 0%, 46.3%)
CIE-LABlab(25.79, 33.16, -49.06)
CIE-LCHlch(25.79, 59.22, 304.06°)
OKLaboklab(37.44% 0.0374 -0.1409)
OKLCHoklch(37.44% 0.146 284.9)
XYZxyz(7.3768, 4.6746, 24.1756)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D89 #79892D
analogous
#2D4B89 #3D2D89 #6B2D89
triadic
#3D2D89 #893D2D #2D893D
tetradic
#3D2D89 #892D4B #79892D #2D896B
square
#3D2D89 #892D4B #79892D #2D896B
split-complementary
#3D2D89 #896B2D #4B892D
monochromatic
#140F2D #281E5B #3D2D89 #523CB7 #7664CC

Accessibility & contrast

On white

10.85
#3D2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D89
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D89#FFFFFF#000000##FFFFFF
##3D2D891.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#1C4457
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2d89;
/* rgb */ color: rgb(61, 45, 137);
/* oklch */ color: oklch(37.4% 0.146 284.9);
Tailwind
colors: {
  custom: {
    50: '#7a67ac',
    500: '#3d2d89',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d89;
$custom-light: #7a67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d89",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 250.435,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.14579,
    "h": 284.9
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#3D2D89
secondary
#A4B35F
accent
#DA4EC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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