#47267B#47267B

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

Color values

HEX#47267B
RGBrgb(71, 38, 123)
HSLhsl(263, 53%, 32%)
HSVhsv(263, 69%, 48%)
CMYKcmyk(42.3%, 69.1%, 0%, 51.8%)
CIE-LABlab(24.18, 35.05, -42.83)
CIE-LCHlch(24.18, 55.34, 309.29°)
OKLaboklab(36.17% 0.0617 -0.1222)
OKLCHoklch(36.17% 0.137 296.8)
XYZxyz(6.8659, 4.1558, 19.1755)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47267B #5A7B26
analogous
#26307B #47267B #72267B
triadic
#47267B #7B4726 #267B47
tetradic
#47267B #7B2630 #5A7B26 #267B72
square
#47267B #7B2630 #5A7B26 #267B72
split-complementary
#47267B #7B7226 #307B26
monochromatic
#11091D #2C184C #47267B #6234AA #8052CA

Accessibility & contrast

On white

11.47
#47267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#47267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47267B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47267B#FFFFFF#000000##FFFFFF
##47267B1.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)
#003A7E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#3A3A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47267b;
/* rgb */ color: rgb(71, 38, 123);
/* oklch */ color: oklch(36.2% 0.137 296.8);
Tailwind
colors: {
  custom: {
    50: '#7f63a2',
    500: '#47267b',
    950: '#000000',
  },
}
SCSS
$custom: #47267b;
$custom-light: #7f63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#47267b",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 263.294,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.13692,
    "h": 296.8
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#47267B
secondary
#89AD50
accent
#DC4CA4
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #47267B

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

Preview Lab → · Contrast checker → · Palette generator →

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