#3D1890#3D1890

#3D1890 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.177 H 287.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#3D1890
RGBrgb(61, 24, 144)
HSLhsl(259, 71%, 33%)
HSVhsv(259, 83%, 56%)
CMYKcmyk(57.6%, 83.3%, 0%, 43.5%)
CIE-LABlab(22.51, 46.39, -58.79)
CIE-LCHlch(22.51, 74.89, 308.27°)
OKLaboklab(35.32% 0.0528 -0.1693)
OKLCHoklch(35.32% 0.177 287.3)
XYZxyz(7.2836, 3.6586, 26.7025)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1890 #6B9018
analogous
#182F90 #3D1890 #791890
triadic
#3D1890 #903D18 #18903D
tetradic
#3D1890 #90182F #6B9018 #189079
square
#3D1890 #90182F #6B9018 #189079
split-complementary
#3D1890 #907918 #2F9018
monochromatic
#110727 #270F5C #3D1890 #5321C4 #7343E0

Accessibility & contrast

On white

12.13
#3D1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1890
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1890#FFFFFF#000000##FFFFFF
##3D18901.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#163D55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d1890;
/* rgb */ color: rgb(61, 24, 144);
/* oklch */ color: oklch(35.3% 0.177 287.3);
Tailwind
colors: {
  custom: {
    50: '#7d5bb2',
    500: '#3d1890',
    950: '#000000',
  },
}
SCSS
$custom: #3d1890;
$custom-light: #7d5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1890",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 258.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.17731,
    "h": 287.3
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#3D1890
secondary
#9AC043
accent
#EE3AB7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1890

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

Preview Lab → · Contrast checker → · Palette generator →

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