#47238C#47238C

#47238C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.162 H 292.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#47238C
RGBrgb(71, 35, 140)
HSLhsl(261, 60%, 34%)
HSVhsv(261, 75%, 55%)
CMYKcmyk(49.3%, 75%, 0%, 45.1%)
CIE-LABlab(25.06, 41.52, -52.07)
CIE-LCHlch(25.06, 66.60, 308.57°)
OKLaboklab(37.25% 0.0615 -0.1494)
OKLCHoklch(37.25% 0.162 292.4)
XYZxyz(7.9319, 4.4348, 25.2439)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47238C #688C23
analogous
#23348C #47238C #7C238C
triadic
#47238C #8C4723 #238C47
tetradic
#47238C #8C2334 #688C23 #238C7C
square
#47238C #8C2334 #688C23 #238C7C
split-complementary
#47238C #8C7C23 #348C23
monochromatic
#150B2A #2E175B #47238C #602FBD #8155D4

Accessibility & contrast

On white

11.13
#47238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47238C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47238C#FFFFFF#000000##FFFFFF
##47238C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#313F55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47238c;
/* rgb */ color: rgb(71, 35, 140);
/* oklch */ color: oklch(37.2% 0.162 292.4);
Tailwind
colors: {
  custom: {
    50: '#8162af',
    500: '#47238c',
    950: '#000000',
  },
}
SCSS
$custom: #47238c;
$custom-light: #8162af;
$custom-dark: #000000;
JSON
{
  "hex": "#47238c",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 260.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37248,
    "c": 0.16154,
    "h": 292.4
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#47238C
secondary
#95B852
accent
#E345AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47238C

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

Preview Lab → · Contrast checker → · Palette generator →

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