#47257D#47257D

#47257D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.141 H 296.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#47257D
RGBrgb(71, 37, 125)
HSLhsl(263, 54%, 32%)
HSVhsv(263, 70%, 49%)
CMYKcmyk(43.2%, 70.4%, 0%, 51%)
CIE-LABlab(24.14, 36.18, -44.16)
CIE-LCHlch(24.14, 57.09, 309.32°)
OKLaboklab(36.19% 0.0625 -0.1262)
OKLCHoklch(36.19% 0.141 296.4)
XYZxyz(6.9608, 4.1433, 19.8310)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47257D #5B7D25
analogous
#252F7D #47257D #73257D
triadic
#47257D #7D4725 #257D47
tetradic
#47257D #7D252F #5B7D25 #257D73
square
#47257D #7D252F #5B7D25 #257D73
split-complementary
#47257D #7D7325 #2F7D25
monochromatic
#11091F #2C174E #47257D #6233AC #8051CB

Accessibility & contrast

On white

11.48
#47257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#47257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47257D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47257D#FFFFFF#000000##FFFFFF
##47257D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#393A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47257d;
/* rgb */ color: rgb(71, 37, 125);
/* oklch */ color: oklch(36.2% 0.141 296.4);
Tailwind
colors: {
  custom: {
    50: '#7f62a3',
    500: '#47257d',
    950: '#000000',
  },
}
SCSS
$custom: #47257d;
$custom-light: #7f62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47257d",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 263.182,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.1408,
    "h": 296.4
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#47257D
secondary
#8AAF4F
accent
#DE4AA5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47257D

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

Preview Lab → · Contrast checker → · Palette generator →

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