#47236F#47236F

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

Color values

HEX#47236F
RGBrgb(71, 35, 111)
HSLhsl(268, 52%, 29%)
HSVhsv(268, 68%, 44%)
CMYKcmyk(36%, 68.5%, 0%, 56.5%)
CIE-LABlab(22.62, 33.39, -37.69)
CIE-LCHlch(22.62, 50.35, 311.54°)
OKLaboklab(34.74% 0.0668 -0.1071)
OKLCHoklch(34.74% 0.126 301.9)
XYZxyz(6.0681, 3.6893, 15.4283)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47236F #4B6F23
analogous
#23256F #47236F #6D236F
triadic
#47236F #6F4723 #236F47
tetradic
#47236F #6F2325 #4B6F23 #236F6D
square
#47236F #6F2325 #4B6F23 #236F6D
split-complementary
#47236F #6F6D23 #256F23
monochromatic
#0F0717 #291440 #47236F #65329E #8347C5

Accessibility & contrast

On white

12.08
#47236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#47236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47236F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47236F#FFFFFF#000000##FFFFFF
##47236F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#05366D
Tritanopia (blue-blind)
#3F3445
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #47236f;
/* rgb */ color: rgb(71, 35, 111);
/* oklch */ color: oklch(34.7% 0.126 301.9);
Tailwind
colors: {
  custom: {
    50: '#7e6099',
    500: '#47236f',
    950: '#000000',
  },
}
SCSS
$custom: #47236f;
$custom-light: #7e6099;
$custom-dark: #000000;
JSON
{
  "hex": "#47236f",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 268.421,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34744,
    "c": 0.12621,
    "h": 301.9
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#47236F
secondary
#79A24C
accent
#DB4C98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #47236F

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

Preview Lab → · Contrast checker → · Palette generator →

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