#47258F#47258F

#47258F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.163 H 291.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#47258F
RGBrgb(71, 37, 143)
HSLhsl(259, 59%, 35%)
HSVhsv(259, 74%, 56%)
CMYKcmyk(50.3%, 74.1%, 0%, 43.9%)
CIE-LABlab(25.70, 41.34, -52.89)
CIE-LCHlch(25.70, 67.13, 308.01°)
OKLaboklab(37.79% 0.059 -0.1518)
OKLCHoklch(37.79% 0.163 291.2)
XYZxyz(8.2166, 4.6456, 26.4450)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47258F #6D8F25
analogous
#25388F #47258F #7C258F
triadic
#47258F #8F4725 #258F47
tetradic
#47258F #8F2538 #6D8F25 #258F7C
square
#47258F #8F2538 #6D8F25 #258F7C
split-complementary
#47258F #8F7C25 #388F25
monochromatic
#170C2E #2F185E #47258F #5F32C0 #815AD4

Accessibility & contrast

On white

10.89
#47258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#47258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47258F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47258F#FFFFFF#000000##FFFFFF
##47258F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#2F4158
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47258f;
/* rgb */ color: rgb(71, 37, 143);
/* oklch */ color: oklch(37.8% 0.163 291.2);
Tailwind
colors: {
  custom: {
    50: '#8263b1',
    500: '#47258f',
    950: '#000000',
  },
}
SCSS
$custom: #47258f;
$custom-light: #8263b1;
$custom-dark: #000000;
JSON
{
  "hex": "#47258f",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 259.245,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.16282,
    "h": 291.2
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#47258F
secondary
#9AB957
accent
#E246B0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #47258F

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

Preview Lab → · Contrast checker → · Palette generator →

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