#623174#623174

#623174 is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.7% C 0.119 H 316.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#623174
RGBrgb(98, 49, 116)
HSLhsl(284, 41%, 32%)
HSVhsv(284, 58%, 45%)
CMYKcmyk(15.5%, 57.8%, 0%, 54.5%)
CIE-LABlab(29.55, 33.96, -29.58)
CIE-LCHlch(29.55, 45.04, 318.94°)
OKLaboklab(40.7% 0.0859 -0.0825)
OKLCHoklch(40.7% 0.119 316.1)
XYZxyz(9.2872, 6.0546, 17.1990)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623174 #437431
analogous
#413174 #623174 #743164
triadic
#623174 #746231 #317462
tetradic
#623174 #744131 #437431 #316474
square
#623174 #744131 #437431 #316474
split-complementary
#623174 #647431 #317441
monochromatic
#190D1E #3E1F49 #623174 #86439F #A563BD

Accessibility & contrast

On white

9.50
#623174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#623174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623174
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623174#FFFFFF#000000##FFFFFF
##6231741.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#324772
Tritanopia (blue-blind)
#613C4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #623174;
/* rgb */ color: rgb(98, 49, 116);
/* oklch */ color: oklch(40.7% 0.119 316.1);
Tailwind
colors: {
  custom: {
    50: '#916b9c',
    500: '#623174',
    950: '#000000',
  },
}
SCSS
$custom: #623174;
$custom-light: #916b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#623174",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 283.881,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.11911,
    "h": 316.1
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#623174
secondary
#70A45C
accent
#D05778
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #623174

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

Preview Lab → · Contrast checker → · Palette generator →

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