#47335F#47335F

#47335F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.4% C 0.077 H 303.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#47335F
RGBrgb(71, 51, 95)
HSLhsl(267, 30%, 29%)
HSVhsv(267, 46%, 37%)
CMYKcmyk(25.3%, 46.3%, 0%, 62.7%)
CIE-LABlab(25.36, 19.10, -22.93)
CIE-LCHlch(25.36, 29.84, 309.80°)
OKLaboklab(36.43% 0.0428 -0.064)
OKLCHoklch(36.43% 0.077 303.8)
XYZxyz(5.8475, 4.5335, 11.3912)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47335F #4B5F33
analogous
#33355F #47335F #5D335F
triadic
#47335F #5F4733 #335F47
tetradic
#47335F #5F3335 #4B5F33 #335F5D
square
#47335F #5F3335 #4B5F33 #335F5D
split-complementary
#47335F #5F5D33 #355F33
monochromatic
#0F0B14 #291E37 #47335F #654887 #8362AB

Accessibility & contrast

On white

11.01
#47335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#47335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47335F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47335F#FFFFFF#000000##FFFFFF
##47335F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#2C3C5E
Tritanopia (blue-blind)
#433A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47335f;
/* rgb */ color: rgb(71, 51, 95);
/* oklch */ color: oklch(36.4% 0.077 303.8);
Tailwind
colors: {
  custom: {
    50: '#7b6b8c',
    500: '#47335f',
    950: '#000000',
  },
}
SCSS
$custom: #47335f;
$custom-light: #7b6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#47335f",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 267.273,
    "s": 30.137,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3643,
    "c": 0.07695,
    "h": 303.8
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#47335F
secondary
#79905E
accent
#C66198
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #47335F

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

Preview Lab → · Contrast checker → · Palette generator →

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