#47258E#47258E

#47258E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.162 H 291.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#47258E
RGBrgb(71, 37, 142)
HSLhsl(259, 59%, 35%)
HSVhsv(259, 74%, 56%)
CMYKcmyk(50%, 73.9%, 0%, 44.3%)
CIE-LABlab(25.61, 41.05, -52.41)
CIE-LCHlch(25.61, 66.58, 308.07°)
OKLaboklab(37.69% 0.0592 -0.1504)
OKLCHoklch(37.69% 0.162 291.5)
XYZxyz(8.1412, 4.6154, 26.0478)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47258E #6C8E25
analogous
#25378E #47258E #7C258E
triadic
#47258E #8E4725 #258E47
tetradic
#47258E #8E2537 #6C8E25 #258E7C
square
#47258E #8E2537 #6C8E25 #258E7C
split-complementary
#47258E #8E7C25 #378E25
monochromatic
#160C2D #2F185D #47258E #5F32BF #815AD4

Accessibility & contrast

On white

10.92
#47258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#47258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47258E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47258E#FFFFFF#000000##FFFFFF
##47258E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#304157
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47258e;
/* rgb */ color: rgb(71, 37, 142);
/* oklch */ color: oklch(37.7% 0.162 291.5);
Tailwind
colors: {
  custom: {
    50: '#8263b0',
    500: '#47258e',
    950: '#000000',
  },
}
SCSS
$custom: #47258e;
$custom-light: #8263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47258e",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 259.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.16162,
    "h": 291.5
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#47258E
secondary
#99B956
accent
#E246AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #47258E

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

Preview Lab → · Contrast checker → · Palette generator →

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