#47266E#47266E

#47266E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.1% C 0.120 H 301.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#47266E
RGBrgb(71, 38, 110)
HSLhsl(268, 49%, 29%)
HSVhsv(268, 65%, 43%)
CMYKcmyk(35.5%, 65.5%, 0%, 56.9%)
CIE-LABlab(23.17, 31.39, -36.14)
CIE-LCHlch(23.17, 47.87, 310.98°)
OKLaboklab(35.12% 0.063 -0.1026)
OKLCHoklch(35.12% 0.12 301.6)
XYZxyz(6.1055, 3.8516, 15.1706)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47266E #4D6E26
analogous
#26296E #47266E #6B266E
triadic
#47266E #6E4726 #266E47
tetradic
#47266E #6E2629 #4D6E26 #266E6B
square
#47266E #6E2629 #4D6E26 #266E6B
split-complementary
#47266E #6E6B26 #296E26
monochromatic
#0F0817 #2A1641 #47266E #64369B #824DC1

Accessibility & contrast

On white

11.86
#47266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#47266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47266E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47266E#FFFFFF#000000##FFFFFF
##47266E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#0E376C
Tritanopia (blue-blind)
#3F3546
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47266e;
/* rgb */ color: rgb(71, 38, 110);
/* oklch */ color: oklch(35.1% 0.120 301.6);
Tailwind
colors: {
  custom: {
    50: '#7d6298',
    500: '#47266e',
    950: '#000000',
  },
}
SCSS
$custom: #47266e;
$custom-light: #7d6298;
$custom-dark: #000000;
JSON
{
  "hex": "#47266e",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 267.5,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35123,
    "c": 0.12038,
    "h": 301.6
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#47266E
secondary
#7BA14F
accent
#D8509A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #47266E

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

Preview Lab → · Contrast checker → · Palette generator →

#47266E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva