#47238E#47238E

#47238E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.164 H 291.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#47238E
RGBrgb(71, 35, 142)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 56%)
CMYKcmyk(50%, 75.4%, 0%, 44.3%)
CIE-LABlab(25.24, 42.09, -53.02)
CIE-LCHlch(25.24, 67.69, 308.44°)
OKLaboklab(37.43% 0.061 -0.1521)
OKLCHoklch(37.43% 0.164 291.9)
XYZxyz(8.0807, 4.4944, 26.0277)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47238E #6A8E23
analogous
#23358E #47238E #7D238E
triadic
#47238E #8E4723 #238E47
tetradic
#47238E #8E2335 #6A8E23 #238E7D
square
#47238E #8E2335 #6A8E23 #238E7D
split-complementary
#47238E #8E7D23 #358E23
monochromatic
#160B2C #2E175D #47238E #602FBF #8156D5

Accessibility & contrast

On white

11.06
#47238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#47238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47238E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47238E#FFFFFF#000000##FFFFFF
##47238E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#304056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47238e;
/* rgb */ color: rgb(71, 35, 142);
/* oklch */ color: oklch(37.4% 0.164 291.9);
Tailwind
colors: {
  custom: {
    50: '#8262b0',
    500: '#47238e',
    950: '#000000',
  },
}
SCSS
$custom: #47238e;
$custom-light: #8262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47238e",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 260.187,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.16392,
    "h": 291.9
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#47238E
secondary
#97B953
accent
#E444AE
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #47238E

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

Preview Lab → · Contrast checker → · Palette generator →

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