#623A9A#623A9A

#623A9A is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.151 H 299.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#623A9A
RGBrgb(98, 58, 154)
HSLhsl(265, 45%, 42%)
HSVhsv(265, 62%, 60%)
CMYKcmyk(36.4%, 62.3%, 0%, 39.6%)
CIE-LABlab(33.89, 38.42, -46.19)
CIE-LCHlch(33.89, 60.07, 309.75°)
OKLaboklab(44.66% 0.074 -0.1312)
OKLCHoklch(44.66% 0.151 299.4)
XYZxyz(12.3814, 7.9558, 31.4489)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623A9A #729A3A
analogous
#3A429A #623A9A #923A9A
triadic
#623A9A #9A623A #3A9A62
tetradic
#623A9A #9A3A42 #729A3A #3A9A92
square
#623A9A #9A3A42 #729A3A #3A9A92
split-complementary
#623A9A #9A923A #429A3A
monochromatic
#291941 #46296E #623A9A #8053BE #A17FCF

Accessibility & contrast

On white

8.10
#623A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#623A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623A9A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623A9A#FFFFFF#000000##FFFFFF
##623A9A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#564F64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #623a9a;
/* rgb */ color: rgb(98, 58, 154);
/* oklch */ color: oklch(44.7% 0.151 299.4);
Tailwind
colors: {
  custom: {
    50: '#9372b8',
    500: '#623a9a',
    950: '#000000',
  },
}
SCSS
$custom: #623a9a;
$custom-light: #9372b8;
$custom-dark: #000000;
JSON
{
  "hex": "#623a9a",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 265,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.15063,
    "h": 299.4
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#623A9A
secondary
#9DB977
accent
#D5539F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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