#47236A#47236A

#47236A is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.4% C 0.120 H 304.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#47236A
RGBrgb(71, 35, 106)
HSLhsl(270, 50%, 28%)
HSVhsv(270, 67%, 42%)
CMYKcmyk(33%, 67%, 0%, 58.4%)
CIE-LABlab(22.24, 32.03, -35.06)
CIE-LCHlch(22.24, 47.49, 312.41°)
OKLaboklab(34.35% 0.0672 -0.0994)
OKLCHoklch(34.35% 0.12 304.1)
XYZxyz(5.8005, 3.5823, 14.0187)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47236A #466A23
analogous
#24236A #47236A #6A2369
triadic
#47236A #6A4723 #236A47
tetradic
#47236A #6A2423 #466A23 #23696A
square
#47236A #6A2423 #466A23 #23696A
split-complementary
#47236A #696A23 #236A24
monochromatic
#0F0817 #28143C #47236A #663298 #8546C2

Accessibility & contrast

On white

12.23
#47236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47236A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47236A#FFFFFF#000000##FFFFFF
##47236A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#0F3568
Tritanopia (blue-blind)
#403243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #47236a;
/* rgb */ color: rgb(71, 35, 106);
/* oklch */ color: oklch(34.4% 0.120 304.1);
Tailwind
colors: {
  custom: {
    50: '#7d6095',
    500: '#47236a',
    950: '#000000',
  },
}
SCSS
$custom: #47236a;
$custom-light: #7d6095;
$custom-dark: #000000;
JSON
{
  "hex": "#47236a",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 270.423,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.11998,
    "h": 304.1
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#47236A
secondary
#749D4B
accent
#DA4E93
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #47236A

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

Preview Lab → · Contrast checker → · Palette generator →

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