#3D276A#3D276A

#3D276A is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.112 H 294.8°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#3D276A
RGBrgb(61, 39, 106)
HSLhsl(260, 46%, 28%)
HSVhsv(260, 63%, 42%)
CMYKcmyk(42.5%, 63.2%, 0%, 58.4%)
CIE-LABlab(21.89, 27.13, -35.70)
CIE-LCHlch(21.89, 44.84, 307.24°)
OKLaboklab(33.81% 0.047 -0.1016)
OKLCHoklch(33.81% 0.112 294.8)
XYZxyz(5.2508, 3.4836, 14.0286)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D276A #546A27
analogous
#27326A #3D276A #5E276A
triadic
#3D276A #6A3D27 #276A3D
tetradic
#3D276A #6A2732 #546A27 #276A5E
square
#3D276A #6A2732 #546A27 #276A5E
split-complementary
#3D276A #6A5E27 #326A27
monochromatic
#0D0816 #23173D #3D276A #573797 #724EBE

Accessibility & contrast

On white

12.38
#3D276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3D276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D276A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D276A#FFFFFF#000000##FFFFFF
##3D276A1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#063369
Tritanopia (blue-blind)
#313644
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d276a;
/* rgb */ color: rgb(61, 39, 106);
/* oklch */ color: oklch(33.8% 0.112 294.8);
Tailwind
colors: {
  custom: {
    50: '#766295',
    500: '#3d276a',
    950: '#000000',
  },
}
SCSS
$custom: #3d276a;
$custom-light: #766295;
$custom-dark: #000000;
JSON
{
  "hex": "#3d276a",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 259.701,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33811,
    "c": 0.11197,
    "h": 294.8
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#3D276A
secondary
#849D50
accent
#D652AB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D276A

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

Preview Lab → · Contrast checker → · Palette generator →

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