#623D8A#623D8A

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

Color values

HEX#623D8A
RGBrgb(98, 61, 138)
HSLhsl(269, 39%, 39%)
HSVhsv(269, 56%, 54%)
CMYKcmyk(29%, 55.8%, 0%, 45.9%)
CIE-LABlab(33.50, 32.45, -37.04)
CIE-LCHlch(33.50, 49.24, 311.22°)
OKLaboklab(44.03% 0.0701 -0.1043)
OKLCHoklch(44.03% 0.126 303.9)
XYZxyz(11.2922, 7.7692, 24.9445)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D8A #658A3D
analogous
#3D3F8A #623D8A #893D8A
triadic
#623D8A #8A623D #3D8A62
tetradic
#623D8A #8A3D3F #658A3D #3D8A89
square
#623D8A #8A3D3F #658A3D #3D8A89
split-complementary
#623D8A #8A893D #3F8A3D
monochromatic
#261735 #442A60 #623D8A #8052B2 #9F7CC5

Accessibility & contrast

On white

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

On black

2.55
#623D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##623D8A#FFFFFF#000000##FFFFFF
##623D8A1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#5B4C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623d8a;
/* rgb */ color: rgb(98, 61, 138);
/* oklch */ color: oklch(44.0% 0.126 303.9);
Tailwind
colors: {
  custom: {
    50: '#9174ac',
    500: '#623d8a',
    950: '#000000',
  },
}
SCSS
$custom: #623d8a;
$custom-light: #9174ac;
$custom-dark: #000000;
JSON
{
  "hex": "#623d8a",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 268.831,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.12568,
    "h": 303.9
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#623D8A
secondary
#93AF74
accent
#CF5996
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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