#3D2E71#3D2E71

#3D2E71 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.111 H 289.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#3D2E71
RGBrgb(61, 46, 113)
HSLhsl(253, 42%, 31%)
HSVhsv(253, 59%, 44%)
CMYKcmyk(46%, 59.3%, 0%, 55.7%)
CIE-LABlab(24.12, 24.82, -36.60)
CIE-LCHlch(24.12, 44.22, 304.14°)
OKLaboklab(35.62% 0.0377 -0.1043)
OKLCHoklch(35.62% 0.111 289.9)
XYZxyz(5.8813, 4.1381, 16.1084)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E71 #62712E
analogous
#2E4071 #3D2E71 #5E2E71
triadic
#3D2E71 #713D2E #2E713D
tetradic
#3D2E71 #712E40 #62712E #2E715E
square
#3D2E71 #712E40 #62712E #2E715E
split-complementary
#3D2E71 #715E2E #40712E
monochromatic
#0E0B1A #261C46 #3D2E71 #54409C #725DBD

Accessibility & contrast

On white

11.49
#3D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E71
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E71#FFFFFF#000000##FFFFFF
##3D2E711.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B73
Deuteranopia (green-blind)
#0A3870
Tritanopia (blue-blind)
#2E3D4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2e71;
/* rgb */ color: rgb(61, 46, 113);
/* oklch */ color: oklch(35.6% 0.111 289.9);
Tailwind
colors: {
  custom: {
    50: '#77679a',
    500: '#3d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e71;
$custom-light: #77679a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e71",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 253.433,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3562,
    "c": 0.11089,
    "h": 289.9
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#3D2E71
secondary
#92A258
accent
#D256B6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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