#3D1889#3D1889

#3D1889 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.169 H 289.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3D1889
RGBrgb(61, 24, 137)
HSLhsl(260, 70%, 32%)
HSVhsv(260, 82%, 54%)
CMYKcmyk(55.5%, 82.5%, 0%, 46.3%)
CIE-LABlab(21.77, 44.42, -55.65)
CIE-LCHlch(21.77, 71.21, 308.60°)
OKLaboklab(34.59% 0.0553 -0.1601)
OKLCHoklch(34.59% 0.169 289.1)
XYZxyz(6.7651, 3.4512, 23.9717)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1889 #648918
analogous
#182C89 #3D1889 #761889
triadic
#3D1889 #893D18 #18893D
tetradic
#3D1889 #89182C #648918 #188976
square
#3D1889 #89182C #648918 #188976
split-complementary
#3D1889 #897618 #2C8918
monochromatic
#0F0621 #260F55 #3D1889 #5421BD #723EDD

Accessibility & contrast

On white

12.42
#3D1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3D1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1889
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1889#FFFFFF#000000##FFFFFF
##3D18891.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#1E3A51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d1889;
/* rgb */ color: rgb(61, 24, 137);
/* oklch */ color: oklch(34.6% 0.169 289.1);
Tailwind
colors: {
  custom: {
    50: '#7c5bad',
    500: '#3d1889',
    950: '#000000',
  },
}
SCSS
$custom: #3d1889;
$custom-light: #7c5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1889",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 259.646,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.16937,
    "h": 289.1
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#3D1889
secondary
#94BD40
accent
#ED3BB3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1889

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

Preview Lab → · Contrast checker → · Palette generator →

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