#623C81#623C81

#623C81 is a dark, moderate violet. Relative luminance 0.074; OKLCH L 43.3% C 0.116 H 307.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#623C81
RGBrgb(98, 60, 129)
HSLhsl(273, 37%, 37%)
HSVhsv(273, 53%, 51%)
CMYKcmyk(24%, 53.5%, 0%, 49.4%)
CIE-LABlab(32.73, 30.74, -32.69)
CIE-LCHlch(32.73, 44.87, 313.24°)
OKLaboklab(43.29% 0.0708 -0.0916)
OKLCHoklch(43.29% 0.116 307.7)
XYZxyz(10.6145, 7.4135, 21.6364)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623C81 #5B813C
analogous
#3F3C81 #623C81 #813C7E
triadic
#623C81 #81623C #3C8162
tetradic
#623C81 #813F3C #5B813C #3C7E81
square
#623C81 #813F3C #5B813C #3C7E81
split-complementary
#623C81 #7E813C #3C813F
monochromatic
#23152D #422957 #623C81 #824FAB #9F77C0

Accessibility & contrast

On white

8.46
#623C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#623C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623C81
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623C81#FFFFFF#000000##FFFFFF
##623C811.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B83
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#5D4858
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623c81;
/* rgb */ color: rgb(98, 60, 129);
/* oklch */ color: oklch(43.3% 0.116 307.7);
Tailwind
colors: {
  custom: {
    50: '#9173a6',
    500: '#623c81',
    950: '#000000',
  },
}
SCSS
$custom: #623c81;
$custom-light: #9173a6;
$custom-dark: #000000;
JSON
{
  "hex": "#623c81",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 273.043,
    "s": 36.508,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4329,
    "c": 0.11582,
    "h": 307.7
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#623C81
secondary
#89AA6F
accent
#CD5B8E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #623C81

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

Preview Lab → · Contrast checker → · Palette generator →

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