#47236E#47236E

#47236E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.125 H 302.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#47236E
RGBrgb(71, 35, 110)
HSLhsl(269, 52%, 28%)
HSVhsv(269, 68%, 43%)
CMYKcmyk(35.5%, 68.2%, 0%, 56.9%)
CIE-LABlab(22.54, 33.11, -37.17)
CIE-LCHlch(22.54, 49.78, 311.70°)
OKLaboklab(34.66% 0.0669 -0.1056)
OKLCHoklch(34.66% 0.125 302.4)
XYZxyz(6.0134, 3.6674, 15.1399)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47236E #4A6E23
analogous
#23246E #47236E #6C236E
triadic
#47236E #6E4723 #236E47
tetradic
#47236E #6E2324 #4A6E23 #236E6C
square
#47236E #6E2324 #4A6E23 #236E6C
split-complementary
#47236E #6E6C23 #246E23
monochromatic
#0F0717 #291440 #47236E #65329C #8347C4

Accessibility & contrast

On white

12.11
#47236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#47236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47236E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47236E#FFFFFF#000000##FFFFFF
##47236E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#07366C
Tritanopia (blue-blind)
#3F3345
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #47236e;
/* rgb */ color: rgb(71, 35, 110);
/* oklch */ color: oklch(34.7% 0.125 302.4);
Tailwind
colors: {
  custom: {
    50: '#7e6098',
    500: '#47236e',
    950: '#000000',
  },
}
SCSS
$custom: #47236e;
$custom-light: #7e6098;
$custom-dark: #000000;
JSON
{
  "hex": "#47236e",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 268.8,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34664,
    "c": 0.12497,
    "h": 302.4
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#47236E
secondary
#78A14C
accent
#DB4D97
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #47236E

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

Preview Lab → · Contrast checker → · Palette generator →

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