#3D326B#3D326B

#3D326B is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.096 H 289.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#3D326B
RGBrgb(61, 50, 107)
HSLhsl(252, 36%, 31%)
HSVhsv(252, 53%, 42%)
CMYKcmyk(43%, 53.3%, 0%, 58%)
CIE-LABlab(24.75, 20.28, -31.74)
CIE-LCHlch(24.75, 37.67, 302.57°)
OKLaboklab(35.95% 0.032 -0.09)
OKLCHoklch(35.95% 0.096 289.6)
XYZxyz(5.7182, 4.3347, 14.4425)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D326B #606B32
analogous
#32436B #3D326B #59326B
triadic
#3D326B #6B3D32 #326B3D
tetradic
#3D326B #6B3243 #606B32 #326B59
square
#3D326B #6B3243 #606B32 #326B59
split-complementary
#3D326B #6B5932 #436B32
monochromatic
#0D0B18 #251F41 #3D326B #554595 #7262B6

Accessibility & contrast

On white

11.25
#3D326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D326B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D326B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D326B#FFFFFF#000000##FFFFFF
##3D326B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#1B396A
Tritanopia (blue-blind)
#303E49
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d326b;
/* rgb */ color: rgb(61, 50, 107);
/* oklch */ color: oklch(36.0% 0.096 289.6);
Tailwind
colors: {
  custom: {
    50: '#756a96',
    500: '#3d326b',
    950: '#000000',
  },
}
SCSS
$custom: #3d326b;
$custom-light: #756a96;
$custom-dark: #000000;
JSON
{
  "hex": "#3d326b",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 251.579,
    "s": 36.306,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.09551,
    "h": 289.6
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#3D326B
secondary
#909C5D
accent
#CC5BB7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #3D326B

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

Preview Lab → · Contrast checker → · Palette generator →

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