#623C8E#623C8E

#623C8E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.132 H 302.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#623C8E
RGBrgb(98, 60, 142)
HSLhsl(268, 41%, 40%)
HSVhsv(268, 58%, 56%)
CMYKcmyk(31%, 57.7%, 0%, 44.3%)
CIE-LABlab(33.52, 34.08, -39.45)
CIE-LCHlch(33.52, 52.14, 310.82°)
OKLaboklab(44.13% 0.0716 -0.1114)
OKLCHoklch(44.13% 0.132 302.7)
XYZxyz(11.5342, 7.7814, 26.4802)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623C8E #688E3C
analogous
#3C3F8E #623C8E #8B3C8E
triadic
#623C8E #8E623C #3C8E62
tetradic
#623C8E #8E3C3F #688E3C #3C8E8B
square
#623C8E #8E3C3F #688E3C #3C8E8B
split-complementary
#623C8E #8E8B3C #3F8E3C
monochromatic
#271838 #442A63 #623C8E #8052B6 #9F7DC8

Accessibility & contrast

On white

8.22
#623C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#623C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623C8E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623C8E#FFFFFF#000000##FFFFFF
##623C8E1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#5A4C5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623c8e;
/* rgb */ color: rgb(98, 60, 142);
/* oklch */ color: oklch(44.1% 0.132 302.7);
Tailwind
colors: {
  custom: {
    50: '#9173af',
    500: '#623c8e',
    950: '#000000',
  },
}
SCSS
$custom: #623c8e;
$custom-light: #9173af;
$custom-dark: #000000;
JSON
{
  "hex": "#623c8e",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 267.805,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.13244,
    "h": 302.7
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#623C8E
secondary
#95B274
accent
#D05798
background
#F9F7FA
surface
#F1EDF5
border
#CBC8CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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