#3D2090#3D2090

#3D2090 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.170 H 286.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3D2090
RGBrgb(61, 32, 144)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 56%)
CMYKcmyk(57.6%, 77.8%, 0%, 43.5%)
CIE-LABlab(23.80, 42.66, -56.67)
CIE-LCHlch(23.80, 70.93, 306.97°)
OKLaboklab(36.22% 0.0474 -0.1632)
OKLCHoklch(36.22% 0.17 286.2)
XYZxyz(7.4735, 4.0383, 26.7658)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2090 #739020
analogous
#203B90 #3D2090 #752090
triadic
#3D2090 #903D20 #20903D
tetradic
#3D2090 #90203B #739020 #209075
square
#3D2090 #90203B #739020 #209075
split-complementary
#3D2090 #907520 #3B9020
monochromatic
#130A2C #28155E #3D2090 #522BC2 #7552D9

Accessibility & contrast

On white

11.62
#3D2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3D2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2090
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2090#FFFFFF#000000##FFFFFF
##3D20901.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#154057
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2090;
/* rgb */ color: rgb(61, 32, 144);
/* oklch */ color: oklch(36.2% 0.170 286.2);
Tailwind
colors: {
  custom: {
    50: '#7d5fb2',
    500: '#3d2090',
    950: '#000000',
  },
}
SCSS
$custom: #3d2090;
$custom-light: #7d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2090",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 255.536,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36218,
    "c": 0.1699,
    "h": 286.2
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#3D2090
secondary
#A0BC50
accent
#E741BC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2090

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

Preview Lab → · Contrast checker → · Palette generator →

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