#3E276A#3E276A

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

Color values

HEX#3E276A
RGBrgb(62, 39, 106)
HSLhsl(261, 46%, 28%)
HSVhsv(261, 63%, 42%)
CMYKcmyk(41.5%, 63.2%, 0%, 58.4%)
CIE-LABlab(22.00, 27.38, -35.50)
CIE-LCHlch(22.00, 44.83, 307.64°)
OKLaboklab(33.92% 0.0485 -0.101)
OKLCHoklch(33.92% 0.112 295.6)
XYZxyz(5.3130, 3.5157, 14.0315)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E276A #536A27
analogous
#27316A #3E276A #5F276A
triadic
#3E276A #6A3E27 #276A3E
tetradic
#3E276A #6A2731 #536A27 #276A5F
square
#3E276A #6A2731 #536A27 #276A5F
split-complementary
#3E276A #6A5F27 #316A27
monochromatic
#0D0816 #24173D #3E276A #583797 #744EBE

Accessibility & contrast

On white

12.33
#3E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E276A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E276A#FFFFFF#000000##FFFFFF
##3E276A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#083469
Tritanopia (blue-blind)
#333644
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e276a;
/* rgb */ color: rgb(62, 39, 106);
/* oklch */ color: oklch(33.9% 0.112 295.6);
Tailwind
colors: {
  custom: {
    50: '#776295',
    500: '#3e276a',
    950: '#000000',
  },
}
SCSS
$custom: #3e276a;
$custom-light: #776295;
$custom-dark: #000000;
JSON
{
  "hex": "#3e276a",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 260.597,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33923,
    "c": 0.11205,
    "h": 295.6
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#3E276A
secondary
#829D50
accent
#D652A9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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