#623A8A#623A8A

#623A8A is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.5% C 0.131 H 304.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#623A8A
RGBrgb(98, 58, 138)
HSLhsl(270, 41%, 38%)
HSVhsv(270, 58%, 54%)
CMYKcmyk(29%, 58%, 0%, 45.9%)
CIE-LABlab(32.83, 34.20, -38.11)
CIE-LCHlch(32.83, 51.21, 311.91°)
OKLaboklab(43.54% 0.0742 -0.1075)
OKLCHoklch(43.54% 0.131 304.6)
XYZxyz(11.1365, 7.4578, 24.8926)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A8A #628A3A
analogous
#3A3A8A #623A8A #8A3A8A
triadic
#623A8A #8A623A #3A8A62
tetradic
#623A8A #8A3A3A #628A3A #3A8A8A
square
#623A8A #8A3A3A #628A3A #3A8A8A
split-complementary
#623A8A #8A8A3A #3A8A3A
monochromatic
#251634 #43285F #623A8A #814DB4 #9F78C6

Accessibility & contrast

On white

8.43
#623A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#623A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623A8A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A8A#FFFFFF#000000##FFFFFF
##623A8A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#5B495C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623a8a;
/* rgb */ color: rgb(98, 58, 138);
/* oklch */ color: oklch(43.5% 0.131 304.6);
Tailwind
colors: {
  custom: {
    50: '#9172ad',
    500: '#623a8a',
    950: '#000000',
  },
}
SCSS
$custom: #623a8a;
$custom-light: #9172ad;
$custom-dark: #000000;
JSON
{
  "hex": "#623a8a",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.13061,
    "h": 304.6
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#623A8A
secondary
#90B070
accent
#D15794
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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