#47238F#47238F

#47238F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.165 H 291.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#47238F
RGBrgb(71, 35, 143)
HSLhsl(260, 61%, 35%)
HSVhsv(260, 76%, 56%)
CMYKcmyk(50.3%, 75.5%, 0%, 43.9%)
CIE-LABlab(25.33, 42.37, -53.49)
CIE-LCHlch(25.33, 68.24, 308.39°)
OKLaboklab(37.53% 0.0608 -0.1535)
OKLCHoklch(37.53% 0.165 291.6)
XYZxyz(8.1561, 4.5245, 26.4249)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47238F #6B8F23
analogous
#23358F #47238F #7D238F
triadic
#47238F #8F4723 #238F47
tetradic
#47238F #8F2335 #6B8F23 #238F7D
square
#47238F #8F2335 #6B8F23 #238F7D
split-complementary
#47238F #8F7D23 #358F23
monochromatic
#160B2D #2F175E #47238F #5F2FC0 #8157D6

Accessibility & contrast

On white

11.02
#47238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#47238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47238F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47238F#FFFFFF#000000##FFFFFF
##47238F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#2F4057
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47238f;
/* rgb */ color: rgb(71, 35, 143);
/* oklch */ color: oklch(37.5% 0.165 291.6);
Tailwind
colors: {
  custom: {
    50: '#8262b1',
    500: '#47238f',
    950: '#000000',
  },
}
SCSS
$custom: #47238f;
$custom-light: #8262b1;
$custom-dark: #000000;
JSON
{
  "hex": "#47238f",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 260,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37527,
    "c": 0.1651,
    "h": 291.6
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#47238F
secondary
#98BA54
accent
#E444AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #47238F

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

Preview Lab → · Contrast checker → · Palette generator →

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