#47239B#47239B

#47239B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.179 H 288.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#47239B
RGBrgb(71, 35, 155)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 77%, 61%)
CMYKcmyk(54.2%, 77.4%, 0%, 39.2%)
CIE-LABlab(26.47, 45.79, -59.01)
CIE-LCHlch(26.47, 74.69, 307.81°)
OKLaboklab(38.67% 0.0575 -0.1697)
OKLCHoklch(38.67% 0.179 288.7)
XYZxyz(9.1142, 4.9078, 31.4710)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47239B #779B23
analogous
#233B9B #47239B #83239B
triadic
#47239B #9B4723 #239B47
tetradic
#47239B #9B233B #779B23 #239B83
square
#47239B #9B233B #779B23 #239B83
split-complementary
#47239B #9B8323 #3B9B23
monochromatic
#190C37 #301869 #47239B #5E2ECD #835EDB

Accessibility & contrast

On white

10.60
#47239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#47239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47239B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47239B#FFFFFF#000000##FFFFFF
##47239B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#26455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #47239b;
/* rgb */ color: rgb(71, 35, 155);
/* oklch */ color: oklch(38.7% 0.179 288.7);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#47239b',
    950: '#000000',
  },
}
SCSS
$custom: #47239b;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47239b",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 258,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38671,
    "c": 0.17919,
    "h": 288.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#47239B
secondary
#A1BF5A
accent
#E642B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47239B

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

Preview Lab → · Contrast checker → · Palette generator →

#47239B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva