#623778#623778

#623778 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.9% C 0.113 H 313.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#623778
RGBrgb(98, 55, 120)
HSLhsl(280, 37%, 34%)
HSVhsv(280, 54%, 47%)
CMYKcmyk(18.3%, 54.2%, 0%, 52.9%)
CIE-LABlab(31.08, 31.47, -29.68)
CIE-LCHlch(31.08, 43.26, 316.68°)
OKLaboklab(41.9% 0.0774 -0.0829)
OKLCHoklch(41.9% 0.113 313)
XYZxyz(9.7928, 6.6854, 18.5402)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623778 #4D7837
analogous
#423778 #623778 #78376E
triadic
#623778 #786237 #377862
tetradic
#623778 #784237 #4D7837 #376E78
square
#623778 #784237 #4D7837 #376E78
split-complementary
#623778 #6E7837 #377842
monochromatic
#1D1124 #40244E #623778 #844AA2 #A16DBC

Accessibility & contrast

On white

8.99
#623778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#623778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623778
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623778#FFFFFF#000000##FFFFFF
##6237781.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#604252
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #623778;
/* rgb */ color: rgb(98, 55, 120);
/* oklch */ color: oklch(41.9% 0.113 313.0);
Tailwind
colors: {
  custom: {
    50: '#906f9f',
    500: '#623778',
    950: '#000000',
  },
}
SCSS
$custom: #623778;
$custom-light: #906f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#623778",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 279.692,
    "s": 37.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.11336,
    "h": 313
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#623778
secondary
#7BA566
accent
#CD5B81
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #623778

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

Preview Lab → · Contrast checker → · Palette generator →

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