#47236B#47236B

#47236B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.121 H 303.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#47236B
RGBrgb(71, 35, 107)
HSLhsl(270, 51%, 28%)
HSVhsv(270, 67%, 42%)
CMYKcmyk(33.6%, 67.3%, 0%, 58%)
CIE-LABlab(22.31, 32.30, -35.59)
CIE-LCHlch(22.31, 48.06, 312.23°)
OKLaboklab(34.43% 0.0671 -0.1009)
OKLCHoklch(34.43% 0.121 303.6)
XYZxyz(5.8528, 3.6032, 14.2942)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47236B #476B23
analogous
#23236B #47236B #6B236B
triadic
#47236B #6B4723 #236B47
tetradic
#47236B #6B2323 #476B23 #236B6B
square
#47236B #6B2323 #476B23 #236B6B
split-complementary
#47236B #6B6B23 #236B23
monochromatic
#0F0817 #28143D #47236B #663299 #8446C2

Accessibility & contrast

On white

12.21
#47236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#47236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47236B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47236B#FFFFFF#000000##FFFFFF
##47236B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#0D3569
Tritanopia (blue-blind)
#403243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #47236b;
/* rgb */ color: rgb(71, 35, 107);
/* oklch */ color: oklch(34.4% 0.121 303.6);
Tailwind
colors: {
  custom: {
    50: '#7d6096',
    500: '#47236b',
    950: '#000000',
  },
}
SCSS
$custom: #47236b;
$custom-light: #7d6096;
$custom-dark: #000000;
JSON
{
  "hex": "#47236b",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 270,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34429,
    "c": 0.12122,
    "h": 303.6
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#47236B
secondary
#759E4B
accent
#DA4E94
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #47236B

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

Preview Lab → · Contrast checker → · Palette generator →

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