#623A7B#623A7B

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

Color values

HEX#623A7B
RGBrgb(98, 58, 123)
HSLhsl(277, 36%, 35%)
HSVhsv(277, 53%, 48%)
CMYKcmyk(20.3%, 52.8%, 0%, 51.8%)
CIE-LABlab(31.93, 30.44, -30.22)
CIE-LCHlch(31.93, 42.89, 315.20°)
OKLaboklab(42.58% 0.0732 -0.0844)
OKLCHoklch(42.58% 0.112 310.9)
XYZxyz(10.1246, 7.0530, 19.5631)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A7B #537B3A
analogous
#413A7B #623A7B #7B3A73
triadic
#623A7B #7B623A #3A7B62
tetradic
#623A7B #7B413A #537B3A #3A737B
square
#623A7B #7B413A #537B3A #3A737B
split-complementary
#623A7B #737B3A #3A7B41
monochromatic
#201328 #412651 #623A7B #834EA5 #A073BD

Accessibility & contrast

On white

8.71
#623A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#623A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623A7B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A7B#FFFFFF#000000##FFFFFF
##623A7B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#354C79
Tritanopia (blue-blind)
#5F4555
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623a7b;
/* rgb */ color: rgb(98, 58, 123);
/* oklch */ color: oklch(42.6% 0.112 310.9);
Tailwind
colors: {
  custom: {
    50: '#9071a1',
    500: '#623a7b',
    950: '#000000',
  },
}
SCSS
$custom: #623a7b;
$custom-light: #9071a1;
$custom-dark: #000000;
JSON
{
  "hex": "#623a7b",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 276.923,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.11174,
    "h": 310.9
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#623A7B
secondary
#82A66B
accent
#CC5C87
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #623A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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