#3D2B71#3D2B71

#3D2B71 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.1% C 0.116 H 291.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#3D2B71
RGBrgb(61, 43, 113)
HSLhsl(255, 45%, 31%)
HSVhsv(255, 62%, 44%)
CMYKcmyk(46%, 61.9%, 0%, 55.7%)
CIE-LABlab(23.38, 26.76, -37.80)
CIE-LCHlch(23.38, 46.31, 305.29°)
OKLaboklab(35.07% 0.0416 -0.1078)
OKLCHoklch(35.07% 0.116 291.1)
XYZxyz(5.7682, 3.9119, 16.0707)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B71 #5F712B
analogous
#2B3C71 #3D2B71 #602B71
triadic
#3D2B71 #713D2B #2B713D
tetradic
#3D2B71 #712B3C #5F712B #2B7160
square
#3D2B71 #712B3C #5F712B #2B7160
split-complementary
#3D2B71 #71602B #3C712B
monochromatic
#0D0918 #251A45 #3D2B71 #553C9D #7257BF

Accessibility & contrast

On white

11.78
#3D2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3D2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B71
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B71#FFFFFF#000000##FFFFFF
##3D2B711.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#01366F
Tritanopia (blue-blind)
#2E3B49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2b71;
/* rgb */ color: rgb(61, 43, 113);
/* oklch */ color: oklch(35.1% 0.116 291.1);
Tailwind
colors: {
  custom: {
    50: '#77659a',
    500: '#3d2b71',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b71;
$custom-light: #77659a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b71",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 255.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.11556,
    "h": 291.1
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#3D2B71
secondary
#8FA355
accent
#D553B3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3D2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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