#47237E#47237E

#47237E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.145 H 296.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#47237E
RGBrgb(71, 35, 126)
HSLhsl(264, 57%, 32%)
HSVhsv(264, 72%, 49%)
CMYKcmyk(43.7%, 72.2%, 0%, 50.6%)
CIE-LABlab(23.83, 37.55, -45.30)
CIE-LCHlch(23.83, 58.84, 309.66°)
OKLaboklab(35.99% 0.0646 -0.1295)
OKLCHoklch(35.99% 0.145 296.5)
XYZxyz(6.9645, 4.0479, 20.1490)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47237E #5A7E23
analogous
#232D7E #47237E #75237E
triadic
#47237E #7E4723 #237E47
tetradic
#47237E #7E232D #5A7E23 #237E75
square
#47237E #7E232D #5A7E23 #237E75
split-complementary
#47237E #7E7523 #2D7E23
monochromatic
#11081E #2C164E #47237E #6230AE #804ECE

Accessibility & contrast

On white

11.60
#47237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#47237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47237E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47237E#FFFFFF#000000##FFFFFF
##47237E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#39394E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47237e;
/* rgb */ color: rgb(71, 35, 126);
/* oklch */ color: oklch(36.0% 0.145 296.5);
Tailwind
colors: {
  custom: {
    50: '#8061a4',
    500: '#47237e',
    950: '#000000',
  },
}
SCSS
$custom: #47237e;
$custom-light: #8061a4;
$custom-dark: #000000;
JSON
{
  "hex": "#47237e",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 263.736,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35994,
    "c": 0.14468,
    "h": 296.5
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#47237E
secondary
#89B04C
accent
#E048A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47237E

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

Preview Lab → · Contrast checker → · Palette generator →

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