#47238D#47238D

#47238D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.163 H 292.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#47238D
RGBrgb(71, 35, 141)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 55%)
CMYKcmyk(49.6%, 75.2%, 0%, 44.7%)
CIE-LABlab(25.15, 41.80, -52.54)
CIE-LCHlch(25.15, 67.14, 308.50°)
OKLaboklab(37.34% 0.0613 -0.1508)
OKLCHoklch(37.34% 0.163 292.1)
XYZxyz(8.0059, 4.4645, 25.6340)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47238D #698D23
analogous
#23348D #47238D #7C238D
triadic
#47238D #8D4723 #238D47
tetradic
#47238D #8D2334 #698D23 #238D7C
square
#47238D #8D2334 #698D23 #238D7C
split-complementary
#47238D #8D7C23 #348D23
monochromatic
#160B2B #2E175C #47238D #602FBE #8155D5

Accessibility & contrast

On white

11.09
#47238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#47238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47238D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47238D#FFFFFF#000000##FFFFFF
##47238D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#313F56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47238d;
/* rgb */ color: rgb(71, 35, 141);
/* oklch */ color: oklch(37.3% 0.163 292.1);
Tailwind
colors: {
  custom: {
    50: '#8262af',
    500: '#47238d',
    950: '#000000',
  },
}
SCSS
$custom: #47238d;
$custom-light: #8262af;
$custom-dark: #000000;
JSON
{
  "hex": "#47238d",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 260.377,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.16273,
    "h": 292.1
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#47238D
secondary
#96B953
accent
#E344AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47238D

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

Preview Lab → · Contrast checker → · Palette generator →

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