#623A7A#623A7A

#623A7A is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.5% C 0.110 H 311.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#623A7A
RGBrgb(98, 58, 122)
HSLhsl(278, 36%, 35%)
HSVhsv(278, 52%, 48%)
CMYKcmyk(19.7%, 52.5%, 0%, 52.2%)
CIE-LABlab(31.87, 30.19, -29.69)
CIE-LCHlch(31.87, 42.34, 315.49°)
OKLaboklab(42.52% 0.0731 -0.0829)
OKLCHoklch(42.52% 0.11 311.4)
XYZxyz(10.0623, 7.0281, 19.2351)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A7A #527A3A
analogous
#423A7A #623A7A #7A3A72
triadic
#623A7A #7A623A #3A7A62
tetradic
#623A7A #7A423A #527A3A #3A727A
square
#623A7A #7A423A #527A3A #3A727A
split-complementary
#623A7A #727A3A #3A7A42
monochromatic
#1F1327 #412651 #623A7A #834EA3 #A072BC

Accessibility & contrast

On white

8.73
#623A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623A7A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A7A#FFFFFF#000000##FFFFFF
##623A7A1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#364C78
Tritanopia (blue-blind)
#5F4454
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623a7a;
/* rgb */ color: rgb(98, 58, 122);
/* oklch */ color: oklch(42.5% 0.110 311.4);
Tailwind
colors: {
  custom: {
    50: '#9071a1',
    500: '#623a7a',
    950: '#000000',
  },
}
SCSS
$custom: #623a7a;
$custom-light: #9071a1;
$custom-dark: #000000;
JSON
{
  "hex": "#623a7a",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 277.5,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.11048,
    "h": 311.4
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#623A7A
secondary
#80A66A
accent
#CC5C86
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D080F
muted
#7E7B7E

Preview Lab

Preview with #623A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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