#46277D#46277D

#46277D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.138 H 295.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#46277D
RGBrgb(70, 39, 125)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 69%, 49%)
CMYKcmyk(44%, 68.8%, 0%, 51%)
CIE-LABlab(24.43, 34.84, -43.70)
CIE-LCHlch(24.43, 55.89, 308.57°)
OKLaboklab(36.37% 0.0588 -0.1248)
OKLCHoklch(36.37% 0.138 295.2)
XYZxyz(6.9520, 4.2336, 19.8490)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46277D #5E7D27
analogous
#27337D #46277D #71277D
triadic
#46277D #7D4627 #277D46
tetradic
#46277D #7D2733 #5E7D27 #277D71
square
#46277D #7D2733 #5E7D27 #277D71
split-complementary
#46277D #7D7127 #337D27
monochromatic
#120A20 #2C184E #46277D #6036AC #7F55CA

Accessibility & contrast

On white

11.37
#46277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46277D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46277D#FFFFFF#000000##FFFFFF
##46277D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#373B4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46277d;
/* rgb */ color: rgb(70, 39, 125);
/* oklch */ color: oklch(36.4% 0.138 295.2);
Tailwind
colors: {
  custom: {
    50: '#7e63a3',
    500: '#46277d',
    950: '#000000',
  },
}
SCSS
$custom: #46277d;
$custom-light: #7e63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46277d",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 261.628,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.13797,
    "h": 295.2
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#46277D
secondary
#8DAF51
accent
#DC4CA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46277D

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

Preview Lab → · Contrast checker → · Palette generator →

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