#623B78#623B78

#623B78 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.6% C 0.106 H 312.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#623B78
RGBrgb(98, 59, 120)
HSLhsl(278, 34%, 35%)
HSVhsv(278, 51%, 47%)
CMYKcmyk(18.3%, 50.8%, 0%, 52.9%)
CIE-LABlab(31.99, 29.11, -28.24)
CIE-LCHlch(31.99, 40.56, 315.87°)
OKLaboklab(42.58% 0.0713 -0.0787)
OKLCHoklch(42.58% 0.106 312.2)
XYZxyz(9.9905, 7.0809, 18.6061)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623B78 #51783B
analogous
#443B78 #623B78 #783B6F
triadic
#623B78 #78623B #3B7862
tetradic
#623B78 #78443B #51783B #3B6F78
square
#623B78 #78443B #51783B #3B6F78
split-complementary
#623B78 #6F783B #3B7844
monochromatic
#1F1326 #40274F #623B78 #844FA1 #A173BA

Accessibility & contrast

On white

8.69
#623B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#623B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623B78
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623B78#FFFFFF#000000##FFFFFF
##623B781.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#604554
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623b78;
/* rgb */ color: rgb(98, 59, 120);
/* oklch */ color: oklch(42.6% 0.106 312.2);
Tailwind
colors: {
  custom: {
    50: '#90729f',
    500: '#623b78',
    950: '#000000',
  },
}
SCSS
$custom: #623b78;
$custom-light: #90729f;
$custom-dark: #000000;
JSON
{
  "hex": "#623b78",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 278.361,
    "s": 34.078,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42575,
    "c": 0.10619,
    "h": 312.2
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#623B78
secondary
#7FA46B
accent
#CA5E85
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #623B78

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

Preview Lab → · Contrast checker → · Palette generator →

#623B78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva