#47287C#47287C

#47287C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.135 H 296.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#47287C
RGBrgb(71, 40, 124)
HSLhsl(262, 51%, 32%)
HSVhsv(262, 68%, 49%)
CMYKcmyk(42.7%, 67.7%, 0%, 51.4%)
CIE-LABlab(24.68, 34.19, -42.65)
CIE-LCHlch(24.68, 54.67, 308.72°)
OKLaboklab(36.55% 0.0593 -0.1217)
OKLCHoklch(36.55% 0.135 296)
XYZxyz(6.9945, 4.3123, 19.5287)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47287C #5D7C28
analogous
#28337C #47287C #71287C
triadic
#47287C #7C4728 #287C47
tetradic
#47287C #7C2833 #5D7C28 #287C71
square
#47287C #7C2833 #5D7C28 #287C71
split-complementary
#47287C #7C7128 #337C28
monochromatic
#120A1F #2D194E #47287C #6137AA #8056C8

Accessibility & contrast

On white

11.28
#47287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#47287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47287C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47287C#FFFFFF#000000##FFFFFF
##47287C1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#393C4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47287c;
/* rgb */ color: rgb(71, 40, 124);
/* oklch */ color: oklch(36.6% 0.135 296.0);
Tailwind
colors: {
  custom: {
    50: '#7f64a3',
    500: '#47287c',
    950: '#000000',
  },
}
SCSS
$custom: #47287c;
$custom-light: #7f64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47287c",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 262.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36551,
    "c": 0.13537,
    "h": 296
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#47287C
secondary
#8CAD52
accent
#DB4DA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #47287C

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

Preview Lab → · Contrast checker → · Palette generator →

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