#623D8B#623D8B

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

Color values

HEX#623D8B
RGBrgb(98, 61, 139)
HSLhsl(268, 39%, 39%)
HSVhsv(268, 56%, 55%)
CMYKcmyk(29.5%, 56.1%, 0%, 45.5%)
CIE-LABlab(33.56, 32.71, -37.55)
CIE-LCHlch(33.56, 49.80, 311.06°)
OKLaboklab(44.1% 0.0701 -0.1059)
OKLCHoklch(44.1% 0.127 303.5)
XYZxyz(11.3649, 7.7983, 25.3276)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D8B #668B3D
analogous
#3D3F8B #623D8B #893D8B
triadic
#623D8B #8B623D #3D8B62
tetradic
#623D8B #8B3D3F #668B3D #3D8B89
square
#623D8B #8B3D3F #668B3D #3D8B89
split-complementary
#623D8B #8B893D #3F8B3D
monochromatic
#261836 #442A60 #623D8B #8052B3 #9F7DC6

Accessibility & contrast

On white

8.20
#623D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623D8B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623D8B#FFFFFF#000000##FFFFFF
##623D8B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#5B4C5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623d8b;
/* rgb */ color: rgb(98, 61, 139);
/* oklch */ color: oklch(44.1% 0.127 303.5);
Tailwind
colors: {
  custom: {
    50: '#9174ad',
    500: '#623d8b',
    950: '#000000',
  },
}
SCSS
$custom: #623d8b;
$custom-light: #9174ad;
$custom-dark: #000000;
JSON
{
  "hex": "#623d8b",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 268.462,
    "s": 39,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.12697,
    "h": 303.5
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#623D8B
secondary
#93B074
accent
#CF5997
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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