#47267F#47267F

#47267F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.142 H 295.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#47267F
RGBrgb(71, 38, 127)
HSLhsl(262, 54%, 32%)
HSVhsv(262, 70%, 50%)
CMYKcmyk(44.1%, 70.1%, 0%, 50.2%)
CIE-LABlab(24.51, 36.19, -44.83)
CIE-LCHlch(24.51, 57.61, 308.91°)
OKLaboklab(36.5% 0.0611 -0.1281)
OKLCHoklch(36.5% 0.142 295.5)
XYZxyz(7.1214, 4.2580, 20.5212)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47267F #5E7F26
analogous
#26327F #47267F #73267F
triadic
#47267F #7F4726 #267F47
tetradic
#47267F #7F2632 #5E7F26 #267F73
square
#47267F #7F2632 #5E7F26 #267F73
split-complementary
#47267F #7F7326 #327F26
monochromatic
#120A21 #2D1850 #47267F #6134AE #8054CC

Accessibility & contrast

On white

11.34
#47267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#47267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47267F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47267F#FFFFFF#000000##FFFFFF
##47267F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47267f;
/* rgb */ color: rgb(71, 38, 127);
/* oklch */ color: oklch(36.5% 0.142 295.5);
Tailwind
colors: {
  custom: {
    50: '#7f63a5',
    500: '#47267f',
    950: '#000000',
  },
}
SCSS
$custom: #47267f;
$custom-light: #7f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#47267f",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 262.247,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36504,
    "c": 0.14194,
    "h": 295.5
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#47267F
secondary
#8DB051
accent
#DD4AA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #47267F

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

Preview Lab → · Contrast checker → · Palette generator →

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