#46277C#46277C

#46277C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.137 H 295.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#46277C
RGBrgb(70, 39, 124)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 69%, 49%)
CMYKcmyk(43.5%, 68.5%, 0%, 51.4%)
CIE-LABlab(24.35, 34.55, -43.20)
CIE-LCHlch(24.35, 55.31, 308.65°)
OKLaboklab(36.29% 0.0589 -0.1233)
OKLCHoklch(36.29% 0.137 295.5)
XYZxyz(6.8884, 4.2082, 19.5142)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46277C #5D7C27
analogous
#27337C #46277C #71277C
triadic
#46277C #7C4627 #277C46
tetradic
#46277C #7C2733 #5D7C27 #277C71
square
#46277C #7C2733 #5D7C27 #277C71
split-complementary
#46277C #7C7127 #337C27
monochromatic
#110A1F #2C184D #46277C #6036AB #7F54C9

Accessibility & contrast

On white

11.40
#46277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#46277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46277C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46277C#FFFFFF#000000##FFFFFF
##46277C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#383B4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46277c;
/* rgb */ color: rgb(70, 39, 124);
/* oklch */ color: oklch(36.3% 0.137 295.5);
Tailwind
colors: {
  custom: {
    50: '#7e63a3',
    500: '#46277c',
    950: '#000000',
  },
}
SCSS
$custom: #46277c;
$custom-light: #7e63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46277c",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 261.882,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36286,
    "c": 0.1367,
    "h": 295.5
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#46277C
secondary
#8CAE51
accent
#DC4CA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46277C

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

Preview Lab → · Contrast checker → · Palette generator →

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