#47237D#47237D

#47237D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.143 H 296.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#47237D
RGBrgb(71, 35, 125)
HSLhsl(264, 56%, 31%)
HSVhsv(264, 72%, 49%)
CMYKcmyk(43.2%, 72%, 0%, 51%)
CIE-LABlab(23.74, 37.27, -44.80)
CIE-LCHlch(23.74, 58.28, 309.75°)
OKLaboklab(35.91% 0.0647 -0.128)
OKLCHoklch(35.91% 0.143 296.8)
XYZxyz(6.9003, 4.0222, 19.8109)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47237D #597D23
analogous
#232C7D #47237D #74237D
triadic
#47237D #7D4723 #237D47
tetradic
#47237D #7D232C #597D23 #237D74
square
#47237D #7D232C #597D23 #237D74
split-complementary
#47237D #7D7423 #2C7D23
monochromatic
#11081D #2C164D #47237D #6230AD #804DCD

Accessibility & contrast

On white

11.64
#47237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#47237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47237D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47237D#FFFFFF#000000##FFFFFF
##47237D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#39394D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47237d;
/* rgb */ color: rgb(71, 35, 125);
/* oklch */ color: oklch(35.9% 0.143 296.8);
Tailwind
colors: {
  custom: {
    50: '#7f61a3',
    500: '#47237d',
    950: '#000000',
  },
}
SCSS
$custom: #47237d;
$custom-light: #7f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47237d",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 264,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.14346,
    "h": 296.8
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#47237D
secondary
#88AF4C
accent
#E048A3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47237D

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

Preview Lab → · Contrast checker → · Palette generator →

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