#46277E#46277E

#46277E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.139 H 294.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#46277E
RGBrgb(70, 39, 126)
HSLhsl(261, 53%, 32%)
HSVhsv(261, 69%, 49%)
CMYKcmyk(44.4%, 69%, 0%, 50.6%)
CIE-LABlab(24.51, 35.13, -44.20)
CIE-LCHlch(24.51, 56.46, 308.48°)
OKLaboklab(36.45% 0.0586 -0.1263)
OKLCHoklch(36.45% 0.139 294.9)
XYZxyz(7.0162, 4.2593, 20.1871)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46277E #5F7E27
analogous
#27347E #46277E #71277E
triadic
#46277E #7E4627 #277E46
tetradic
#46277E #7E2734 #5F7E27 #277E71
square
#46277E #7E2734 #5F7E27 #277E71
split-complementary
#46277E #7E7127 #347E27
monochromatic
#120A21 #2C194F #46277E #6035AD #7F55CA

Accessibility & contrast

On white

11.34
#46277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#46277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46277E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46277E#FFFFFF#000000##FFFFFF
##46277E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#373C4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46277e;
/* rgb */ color: rgb(70, 39, 126);
/* oklch */ color: oklch(36.5% 0.139 294.9);
Tailwind
colors: {
  custom: {
    50: '#7f63a4',
    500: '#46277e',
    950: '#000000',
  },
}
SCSS
$custom: #46277e;
$custom-light: #7f63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46277e",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 261.379,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36454,
    "c": 0.13924,
    "h": 294.9
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#46277E
secondary
#8EAF52
accent
#DC4CA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46277E

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

Preview Lab → · Contrast checker → · Palette generator →

#46277E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva