#623B8A#623B8A

#623B8A is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.129 H 304.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#623B8A
RGBrgb(98, 59, 138)
HSLhsl(270, 40%, 39%)
HSVhsv(270, 57%, 54%)
CMYKcmyk(29%, 57.2%, 0%, 45.9%)
CIE-LABlab(33.05, 33.62, -37.75)
CIE-LCHlch(33.05, 50.56, 311.69°)
OKLaboklab(43.7% 0.0728 -0.1064)
OKLCHoklch(43.7% 0.129 304.4)
XYZxyz(11.1874, 7.5596, 24.9096)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623B8A #638A3B
analogous
#3B3B8A #623B8A #893B8A
triadic
#623B8A #8A623B #3B8A62
tetradic
#623B8A #8A3B3B #638A3B #3B8A89
square
#623B8A #8A3B3B #638A3B #3B8A89
split-complementary
#623B8A #8A893B #3B8A3B
monochromatic
#251634 #44295F #623B8A #804FB4 #9F79C6

Accessibility & contrast

On white

8.36
#623B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#623B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623B8A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623B8A#FFFFFF#000000##FFFFFF
##623B8A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8D
Deuteranopia (green-blind)
#2B4E88
Tritanopia (blue-blind)
#5B4A5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #623b8a;
/* rgb */ color: rgb(98, 59, 138);
/* oklch */ color: oklch(43.7% 0.129 304.4);
Tailwind
colors: {
  custom: {
    50: '#9172ad',
    500: '#623b8a',
    950: '#000000',
  },
}
SCSS
$custom: #623b8a;
$custom-light: #9172ad;
$custom-dark: #000000;
JSON
{
  "hex": "#623b8a",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 269.62,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.12898,
    "h": 304.4
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#623B8A
secondary
#91AF71
accent
#D05895
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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