#46277A#46277A

#46277A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.134 H 296.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#46277A
RGBrgb(70, 39, 122)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 68%, 48%)
CMYKcmyk(42.6%, 68%, 0%, 52.2%)
CIE-LABlab(24.19, 33.97, -42.19)
CIE-LCHlch(24.19, 54.17, 308.84°)
OKLaboklab(36.12% 0.0592 -0.1204)
OKLCHoklch(36.12% 0.134 296.2)
XYZxyz(6.7632, 4.1581, 18.8548)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46277A #5B7A27
analogous
#27317A #46277A #70277A
triadic
#46277A #7A4627 #277A46
tetradic
#46277A #7A2731 #5B7A27 #277A70
square
#46277A #7A2731 #5B7A27 #277A70
split-complementary
#46277A #7A7027 #317A27
monochromatic
#11091D #2B184C #46277A #6136A8 #7F53C8

Accessibility & contrast

On white

11.47
#46277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#46277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46277A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46277A#FFFFFF#000000##FFFFFF
##46277A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#393A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46277a;
/* rgb */ color: rgb(70, 39, 122);
/* oklch */ color: oklch(36.1% 0.134 296.2);
Tailwind
colors: {
  custom: {
    50: '#7e63a1',
    500: '#46277a',
    950: '#000000',
  },
}
SCSS
$custom: #46277a;
$custom-light: #7e63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46277a",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 262.41,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3612,
    "c": 0.13414,
    "h": 296.2
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#46277A
secondary
#8AAC51
accent
#DB4DA6
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46277A

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

Preview Lab → · Contrast checker → · Palette generator →

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