#623274#623274

#623274 is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.9% C 0.117 H 316.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#623274
RGBrgb(98, 50, 116)
HSLhsl(284, 40%, 33%)
HSVhsv(284, 57%, 45%)
CMYKcmyk(15.5%, 56.9%, 0%, 54.5%)
CIE-LABlab(29.76, 33.40, -29.24)
CIE-LCHlch(29.76, 44.39, 318.80°)
OKLaboklab(40.85% 0.0844 -0.0815)
OKLCHoklch(40.85% 0.117 316)
XYZxyz(9.3295, 6.1391, 17.2131)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623274 #447432
analogous
#413274 #623274 #743265
triadic
#623274 #746232 #327462
tetradic
#623274 #744132 #447432 #326574
square
#623274 #744132 #447432 #326574
split-complementary
#623274 #657432 #327441
monochromatic
#1A0D1E #3E2049 #623274 #86449F #A464BC

Accessibility & contrast

On white

9.43
#623274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623274
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623274#FFFFFF#000000##FFFFFF
##6232741.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#334872
Tritanopia (blue-blind)
#613C4E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #623274;
/* rgb */ color: rgb(98, 50, 116);
/* oklch */ color: oklch(40.9% 0.117 316.0);
Tailwind
colors: {
  custom: {
    50: '#906c9c',
    500: '#623274',
    950: '#000000',
  },
}
SCSS
$custom: #623274;
$custom-light: #906c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#623274",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 283.636,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.11738,
    "h": 316
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#623274
secondary
#71A45E
accent
#D05879
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #623274

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

Preview Lab → · Contrast checker → · Palette generator →

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