#3D2890#3D2890

#3D2890 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.161 H 284.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3D2890
RGBrgb(61, 40, 144)
HSLhsl(252, 57%, 36%)
HSVhsv(252, 72%, 56%)
CMYKcmyk(57.6%, 72.2%, 0%, 43.5%)
CIE-LABlab(25.33, 38.35, -54.15)
CIE-LCHlch(25.33, 66.36, 305.31°)
OKLaboklab(37.3% 0.0409 -0.1558)
OKLCHoklch(37.3% 0.161 284.7)
XYZxyz(7.7158, 4.5228, 26.8466)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2890 #7B9028
analogous
#284790 #3D2890 #712890
triadic
#3D2890 #903D28 #28903D
tetradic
#3D2890 #902847 #7B9028 #289071
square
#3D2890 #902847 #7B9028 #289071
split-complementary
#3D2890 #907128 #479028
monochromatic
#140D30 #291B60 #3D2890 #5135C0 #7760D3

Accessibility & contrast

On white

11.03
#3D2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3D2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2890
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2890#FFFFFF#000000##FFFFFF
##3D28901.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#144459
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2890;
/* rgb */ color: rgb(61, 40, 144);
/* oklch */ color: oklch(37.3% 0.161 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c64b1',
    500: '#3d2890',
    950: '#000000',
  },
}
SCSS
$custom: #3d2890;
$custom-light: #7c64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2890",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 252.115,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.16113,
    "h": 284.7
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#3D2890
secondary
#A6B85C
accent
#E048C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #3D2890

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

Preview Lab → · Contrast checker → · Palette generator →

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