#47257F#47257F

#47257F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.143 H 295.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#47257F
RGBrgb(71, 37, 127)
HSLhsl(263, 55%, 32%)
HSVhsv(263, 71%, 50%)
CMYKcmyk(44.1%, 70.9%, 0%, 50.2%)
CIE-LABlab(24.31, 36.75, -45.16)
CIE-LCHlch(24.31, 58.22, 309.14°)
OKLaboklab(36.36% 0.0622 -0.1291)
OKLCHoklch(36.36% 0.143 295.7)
XYZxyz(7.0899, 4.1949, 20.5107)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47257F #5D7F25
analogous
#25307F #47257F #74257F
triadic
#47257F #7F4725 #257F47
tetradic
#47257F #7F2530 #5D7F25 #257F74
square
#47257F #7F2530 #5D7F25 #257F74
split-complementary
#47257F #7F7425 #307F25
monochromatic
#120920 #2D1750 #47257F #6133AE #8052CD

Accessibility & contrast

On white

11.42
#47257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#47257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47257F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47257F#FFFFFF#000000##FFFFFF
##47257F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#383B4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #47257f;
/* rgb */ color: rgb(71, 37, 127);
/* oklch */ color: oklch(36.4% 0.143 295.7);
Tailwind
colors: {
  custom: {
    50: '#8062a5',
    500: '#47257f',
    950: '#000000',
  },
}
SCSS
$custom: #47257f;
$custom-light: #8062a5;
$custom-dark: #000000;
JSON
{
  "hex": "#47257f",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 262.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3636,
    "c": 0.14328,
    "h": 295.7
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#47257F
secondary
#8CB14F
accent
#DE4AA6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47257F

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

Preview Lab → · Contrast checker → · Palette generator →

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