#3D276B#3D276B

#3D276B is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.113 H 294.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#3D276B
RGBrgb(61, 39, 107)
HSLhsl(259, 47%, 29%)
HSVhsv(259, 64%, 42%)
CMYKcmyk(43%, 63.6%, 0%, 58%)
CIE-LABlab(21.96, 27.43, -36.22)
CIE-LCHlch(21.96, 45.44, 307.14°)
OKLaboklab(33.89% 0.047 -0.1032)
OKLCHoklch(33.89% 0.113 294.5)
XYZxyz(5.3031, 3.5046, 14.3041)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D276B #556B27
analogous
#27336B #3D276B #5F276B
triadic
#3D276B #6B3D27 #276B3D
tetradic
#3D276B #6B2733 #556B27 #276B5F
square
#3D276B #6B2733 #556B27 #276B5F
split-complementary
#3D276B #6B5F27 #336B27
monochromatic
#0D0816 #23173E #3D276B #573798 #724EBE

Accessibility & contrast

On white

12.35
#3D276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D276B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D276B#FFFFFF#000000##FFFFFF
##3D276B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#04336A
Tritanopia (blue-blind)
#313645
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d276b;
/* rgb */ color: rgb(61, 39, 107);
/* oklch */ color: oklch(33.9% 0.113 294.5);
Tailwind
colors: {
  custom: {
    50: '#766296',
    500: '#3d276b',
    950: '#000000',
  },
}
SCSS
$custom: #3d276b;
$custom-light: #766296;
$custom-dark: #000000;
JSON
{
  "hex": "#3d276b",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 259.412,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3389,
    "c": 0.11335,
    "h": 294.5
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#3D276B
secondary
#859E50
accent
#D652AB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D276B

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

Preview Lab → · Contrast checker → · Palette generator →

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