#623D9A#623D9A

#623D9A is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.1% C 0.146 H 298.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#623D9A
RGBrgb(98, 61, 154)
HSLhsl(264, 43%, 42%)
HSVhsv(264, 60%, 60%)
CMYKcmyk(36.4%, 60.4%, 0%, 39.6%)
CIE-LABlab(34.53, 36.70, -45.15)
CIE-LCHlch(34.53, 58.19, 309.11°)
OKLaboklab(45.12% 0.0703 -0.1282)
OKLCHoklch(45.12% 0.146 298.7)
XYZxyz(12.5370, 8.2671, 31.5008)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D9A #759A3D
analogous
#3D479A #623D9A #913D9A
triadic
#623D9A #9A623D #3D9A62
tetradic
#623D9A #9A3D47 #759A3D #3D9A91
square
#623D9A #9A3D47 #759A3D #3D9A91
split-complementary
#623D9A #9A913D #479A3D
monochromatic
#2A1A42 #462C6E #623D9A #8058BD #A183CE

Accessibility & contrast

On white

7.91
#623D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#623D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623D9A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623D9A#FFFFFF#000000##FFFFFF
##623D9A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519D
Deuteranopia (green-blind)
#1C5098
Tritanopia (blue-blind)
#565165
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623d9a;
/* rgb */ color: rgb(98, 61, 154);
/* oklch */ color: oklch(45.1% 0.146 298.7);
Tailwind
colors: {
  custom: {
    50: '#9274b8',
    500: '#623d9a',
    950: '#000000',
  },
}
SCSS
$custom: #623d9a;
$custom-light: #9274b8;
$custom-dark: #000000;
JSON
{
  "hex": "#623d9a",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 263.871,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.14616,
    "h": 298.7
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#623D9A
secondary
#A0B87B
accent
#D355A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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