#47345F#47345F

#47345F is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.6% C 0.075 H 303.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#47345F
RGBrgb(71, 52, 95)
HSLhsl(267, 29%, 29%)
HSVhsv(267, 45%, 37%)
CMYKcmyk(25.3%, 45.3%, 0%, 62.7%)
CIE-LABlab(25.63, 18.44, -22.51)
CIE-LCHlch(25.63, 29.10, 309.34°)
OKLaboklab(36.63% 0.0412 -0.0627)
OKLCHoklch(36.63% 0.075 303.3)
XYZxyz(5.8916, 4.6218, 11.4060)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47345F #4C5F34
analogous
#34375F #47345F #5D345F
triadic
#47345F #5F4734 #345F47
tetradic
#47345F #5F3437 #4C5F34 #345F5D
square
#47345F #5F3437 #4C5F34 #345F5D
split-complementary
#47345F #5F5D34 #375F34
monochromatic
#0F0B14 #291E37 #47345F #654A87 #8364AA

Accessibility & contrast

On white

10.91
#47345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#47345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47345F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47345F#FFFFFF#000000##FFFFFF
##47345F1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#2D3D5E
Tritanopia (blue-blind)
#433B45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47345f;
/* rgb */ color: rgb(71, 52, 95);
/* oklch */ color: oklch(36.6% 0.075 303.3);
Tailwind
colors: {
  custom: {
    50: '#7b6c8c',
    500: '#47345f',
    950: '#000000',
  },
}
SCSS
$custom: #47345f;
$custom-light: #7b6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#47345f",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 266.512,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36631,
    "c": 0.07505,
    "h": 303.3
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#47345F
secondary
#7A905F
accent
#C6629A
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#09070C
muted
#7B7A7D

Preview Lab

Preview with #47345F

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

Preview Lab → · Contrast checker → · Palette generator →

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