#3D276F#3D276F

#3D276F is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.2% C 0.119 H 293.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#3D276F
RGBrgb(61, 39, 111)
HSLhsl(258, 48%, 29%)
HSVhsv(258, 65%, 44%)
CMYKcmyk(45%, 64.9%, 0%, 56.5%)
CIE-LABlab(22.27, 28.66, -38.31)
CIE-LCHlch(22.27, 47.84, 306.80°)
OKLaboklab(34.21% 0.0467 -0.1093)
OKLCHoklch(34.21% 0.119 293.1)
XYZxyz(5.5185, 3.5907, 15.4382)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D276F #596F27
analogous
#27356F #3D276F #61276F
triadic
#3D276F #6F3D27 #276F3D
tetradic
#3D276F #6F2735 #596F27 #276F61
square
#3D276F #6F2735 #596F27 #276F61
split-complementary
#3D276F #6F6127 #356F27
monochromatic
#0C0817 #241742 #3D276F #56379C #724FC1

Accessibility & contrast

On white

12.22
#3D276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3D276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D276F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D276F#FFFFFF#000000##FFFFFF
##3D276F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#2F3747
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d276f;
/* rgb */ color: rgb(61, 39, 111);
/* oklch */ color: oklch(34.2% 0.119 293.1);
Tailwind
colors: {
  custom: {
    50: '#776299',
    500: '#3d276f',
    950: '#000000',
  },
}
SCSS
$custom: #3d276f;
$custom-light: #776299;
$custom-dark: #000000;
JSON
{
  "hex": "#3d276f",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 258.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.11887,
    "h": 293.1
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#3D276F
secondary
#89A250
accent
#D850AE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D276F

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

Preview Lab → · Contrast checker → · Palette generator →

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