#47255E#47255E

#47255E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.101 H 309.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#47255E
RGBrgb(71, 37, 94)
HSLhsl(276, 44%, 26%)
HSVhsv(276, 61%, 37%)
CMYKcmyk(24.5%, 60.6%, 0%, 63.1%)
CIE-LABlab(21.84, 27.68, -27.85)
CIE-LCHlch(21.84, 39.27, 314.83°)
OKLaboklab(33.79% 0.0646 -0.0782)
OKLCHoklch(33.79% 0.101 309.6)
XYZxyz(5.2801, 3.4710, 10.9793)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47255E #3C5E25
analogous
#2A255E #47255E #5E2558
triadic
#47255E #5E4725 #255E47
tetradic
#47255E #5E2A25 #3C5E25 #25585E
square
#47255E #5E2A25 #3C5E25 #25585E
split-complementary
#47255E #585E25 #255E2A
monochromatic
#110916 #261432 #47255E #68368A #8948B6

Accessibility & contrast

On white

12.40
#47255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#47255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47255E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47255E#FFFFFF#000000##FFFFFF
##47255E1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#442F3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47255e;
/* rgb */ color: rgb(71, 37, 94);
/* oklch */ color: oklch(33.8% 0.101 309.6);
Tailwind
colors: {
  custom: {
    50: '#7c618c',
    500: '#47255e',
    950: '#000000',
  },
}
SCSS
$custom: #47255e;
$custom-light: #7c618c;
$custom-dark: #000000;
JSON
{
  "hex": "#47255e",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 275.789,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.10148,
    "h": 309.6
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#47255E
secondary
#69914D
accent
#D35588
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #47255E

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

Preview Lab → · Contrast checker → · Palette generator →

#47255E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva