#623A7C#623A7C

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

Color values

HEX#623A7C
RGBrgb(98, 58, 124)
HSLhsl(276, 36%, 36%)
HSVhsv(276, 53%, 49%)
CMYKcmyk(21%, 53.2%, 0%, 51.4%)
CIE-LABlab(31.98, 30.68, -30.76)
CIE-LCHlch(31.98, 43.44, 314.93°)
OKLaboklab(42.64% 0.0733 -0.086)
OKLCHoklch(42.64% 0.113 310.4)
XYZxyz(10.1875, 7.0782, 19.8944)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A7C #547C3A
analogous
#413A7C #623A7C #7C3A75
triadic
#623A7C #7C623A #3A7C62
tetradic
#623A7C #7C413A #547C3A #3A757C
square
#623A7C #7C413A #547C3A #3A757C
split-complementary
#623A7C #757C3A #3A7C41
monochromatic
#201329 #412652 #623A7C #834EA6 #A073BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##623A7C#FFFFFF#000000##FFFFFF
##623A7C1.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)
#29497E
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#5F4555
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623a7c;
/* rgb */ color: rgb(98, 58, 124);
/* oklch */ color: oklch(42.6% 0.113 310.4);
Tailwind
colors: {
  custom: {
    50: '#9071a2',
    500: '#623a7c',
    950: '#000000',
  },
}
SCSS
$custom: #623a7c;
$custom-light: #9071a2;
$custom-dark: #000000;
JSON
{
  "hex": "#623a7c",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 276.364,
    "s": 36.264,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.11299,
    "h": 310.4
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#623A7C
secondary
#83A76B
accent
#CC5C88
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #623A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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