#3D2B90#3D2B90

#3D2B90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.158 H 284.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3D2B90
RGBrgb(61, 43, 144)
HSLhsl(251, 54%, 37%)
HSVhsv(251, 70%, 56%)
CMYKcmyk(57.6%, 70.1%, 0%, 43.5%)
CIE-LABlab(25.96, 36.61, -53.12)
CIE-LCHlch(25.96, 64.52, 304.57°)
OKLaboklab(37.75% 0.0383 -0.1528)
OKLCHoklch(37.75% 0.158 284.1)
XYZxyz(7.8208, 4.7330, 26.8816)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B90 #7E902B
analogous
#2B4C90 #3D2B90 #702B90
triadic
#3D2B90 #903D2B #2B903D
tetradic
#3D2B90 #902B4C #7E902B #2B9070
square
#3D2B90 #902B4C #7E902B #2B9070
split-complementary
#3D2B90 #90702B #4C902B
monochromatic
#150F32 #291D61 #3D2B90 #5139BF #7865D1

Accessibility & contrast

On white

10.79
#3D2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3D2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B90
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B90#FFFFFF#000000##FFFFFF
##3D2B901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#14455A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2b90;
/* rgb */ color: rgb(61, 43, 144);
/* oklch */ color: oklch(37.8% 0.158 284.1);
Tailwind
colors: {
  custom: {
    50: '#7c66b1',
    500: '#3d2b90',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b90;
$custom-light: #7c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b90",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 250.693,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.15755,
    "h": 284.1
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#3D2B90
secondary
#A8B760
accent
#DD4AC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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