#623178#623178

#623178 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 40.9% C 0.124 H 314.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#623178
RGBrgb(98, 49, 120)
HSLhsl(281, 42%, 33%)
HSVhsv(281, 59%, 47%)
CMYKcmyk(18.3%, 59.2%, 0%, 52.9%)
CIE-LABlab(29.79, 34.89, -31.73)
CIE-LCHlch(29.79, 47.16, 317.71°)
OKLaboklab(40.95% 0.0862 -0.0888)
OKLCHoklch(40.95% 0.124 314.1)
XYZxyz(9.5249, 6.1496, 18.4509)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623178 #477831
analogous
#3E3178 #623178 #78316A
triadic
#623178 #786231 #317862
tetradic
#623178 #783E31 #477831 #316A78
square
#623178 #783E31 #477831 #316A78
split-complementary
#623178 #6A7831 #31783E
monochromatic
#1B0E21 #3F1F4D #623178 #8543A3 #A364C0

Accessibility & contrast

On white

9.42
#623178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#623178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623178
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623178#FFFFFF#000000##FFFFFF
##6231781.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#603D4F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #623178;
/* rgb */ color: rgb(98, 49, 120);
/* oklch */ color: oklch(40.9% 0.124 314.1);
Tailwind
colors: {
  custom: {
    50: '#916c9f',
    500: '#623178',
    950: '#000000',
  },
}
SCSS
$custom: #623178;
$custom-light: #916c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#623178",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 281.408,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.12372,
    "h": 314.1
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#623178
secondary
#74A75E
accent
#D2567C
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #623178

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

Preview Lab → · Contrast checker → · Palette generator →

#623178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva