#3D277D#3D277D

#3D277D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.138 H 289.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3D277D
RGBrgb(61, 39, 125)
HSLhsl(255, 52%, 32%)
HSVhsv(255, 69%, 49%)
CMYKcmyk(51.2%, 68.8%, 0%, 51%)
CIE-LABlab(23.42, 32.99, -45.39)
CIE-LCHlch(23.42, 56.11, 306.01°)
OKLaboklab(35.41% 0.0452 -0.1301)
OKLCHoklch(35.41% 0.138 289.2)
XYZxyz(6.3506, 3.9235, 19.8208)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D277D #677D27
analogous
#273C7D #3D277D #68277D
triadic
#3D277D #7D3D27 #277D3D
tetradic
#3D277D #7D273C #677D27 #277D68
square
#3D277D #7D273C #677D27 #277D68
split-complementary
#3D277D #7D6827 #3C7D27
monochromatic
#0F0A20 #26184E #3D277D #5436AC #7355CA

Accessibility & contrast

On white

11.77
#3D277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D277D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D277D#FFFFFF#000000##FFFFFF
##3D277D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#273C4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d277d;
/* rgb */ color: rgb(61, 39, 125);
/* oklch */ color: oklch(35.4% 0.138 289.2);
Tailwind
colors: {
  custom: {
    50: '#7963a3',
    500: '#3d277d',
    950: '#000000',
  },
}
SCSS
$custom: #3d277d;
$custom-light: #7963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d277d",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 255.349,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.13775,
    "h": 289.2
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#3D277D
secondary
#97AF51
accent
#DC4CB7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D277D

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

Preview Lab → · Contrast checker → · Palette generator →

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