#3D2C8E#3D2C8E

#3D2C8E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.154 H 284.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3D2C8E
RGBrgb(61, 44, 142)
HSLhsl(250, 53%, 36%)
HSVhsv(250, 69%, 56%)
CMYKcmyk(57%, 69%, 0%, 44.3%)
CIE-LABlab(26.00, 35.38, -51.82)
CIE-LCHlch(26.00, 62.75, 304.32°)
OKLaboklab(37.72% 0.0377 -0.149)
OKLCHoklch(37.72% 0.154 284.2)
XYZxyz(7.7061, 4.7460, 26.0959)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C8E #7D8E2C
analogous
#2C4C8E #3D2C8E #6E2C8E
triadic
#3D2C8E #8E3D2C #2C8E3D
tetradic
#3D2C8E #8E2C4C #7D8E2C #2C8E6E
square
#3D2C8E #8E2C4C #7D8E2C #2C8E6E
split-complementary
#3D2C8E #8E6E2C #4C8E2C
monochromatic
#150F31 #291E5F #3D2C8E #513ABD #7865CF

Accessibility & contrast

On white

10.77
#3D2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2C8E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C8E#FFFFFF#000000##FFFFFF
##3D2C8E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#174559
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2c8e;
/* rgb */ color: rgb(61, 44, 142);
/* oklch */ color: oklch(37.7% 0.154 284.2);
Tailwind
colors: {
  custom: {
    50: '#7b66b0',
    500: '#3d2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c8e;
$custom-light: #7b66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c8e",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 250.408,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.1537,
    "h": 284.2
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#3D2C8E
secondary
#A7B660
accent
#DC4CC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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