#46277B#46277B

#46277B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.135 H 295.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#46277B
RGBrgb(70, 39, 123)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 68%, 48%)
CMYKcmyk(43.1%, 68.3%, 0%, 51.8%)
CIE-LABlab(24.27, 34.26, -42.69)
CIE-LCHlch(24.27, 54.74, 308.75°)
OKLaboklab(36.2% 0.059 -0.1219)
OKLCHoklch(36.2% 0.135 295.8)
XYZxyz(6.8255, 4.1830, 19.1828)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46277B #5C7B27
analogous
#27327B #46277B #70277B
triadic
#46277B #7B4627 #277B46
tetradic
#46277B #7B2732 #5C7B27 #277B70
square
#46277B #7B2732 #5C7B27 #277B70
split-complementary
#46277B #7B7027 #327B27
monochromatic
#110A1E #2C184D #46277B #6036A9 #7F54C9

Accessibility & contrast

On white

11.43
#46277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46277B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46277B#FFFFFF#000000##FFFFFF
##46277B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#383B4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46277b;
/* rgb */ color: rgb(70, 39, 123);
/* oklch */ color: oklch(36.2% 0.135 295.8);
Tailwind
colors: {
  custom: {
    50: '#7e63a2',
    500: '#46277b',
    950: '#000000',
  },
}
SCSS
$custom: #46277b;
$custom-light: #7e63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#46277b",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 262.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.13542,
    "h": 295.8
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#46277B
secondary
#8BAD51
accent
#DB4CA7
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46277B

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

Preview Lab → · Contrast checker → · Palette generator →

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