#623D9F#623D9F

#623D9F is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.152 H 297.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#623D9F
RGBrgb(98, 61, 159)
HSLhsl(263, 45%, 43%)
HSVhsv(263, 62%, 62%)
CMYKcmyk(38.4%, 61.6%, 0%, 37.6%)
CIE-LABlab(34.88, 38.07, -47.62)
CIE-LCHlch(34.88, 60.96, 308.64°)
OKLaboklab(45.49% 0.0701 -0.1354)
OKLCHoklch(45.49% 0.152 297.4)
XYZxyz(12.9622, 8.4372, 33.7398)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D9F #7A9F3D
analogous
#3D499F #623D9F #933D9F
triadic
#623D9F #9F623D #3D9F62
tetradic
#623D9F #9F3D49 #7A9F3D #3D9F93
square
#623D9F #9F3D49 #7A9F3D #3D9F93
split-complementary
#623D9F #9F933D #499F3D
monochromatic
#2B1B47 #472C73 #623D9F #805AC0 #A286D1

Accessibility & contrast

On white

7.81
#623D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#623D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623D9F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623D9F#FFFFFF#000000##FFFFFF
##623D9F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#545268
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623d9f;
/* rgb */ color: rgb(98, 61, 159);
/* oklch */ color: oklch(45.5% 0.152 297.4);
Tailwind
colors: {
  custom: {
    50: '#9374bc',
    500: '#623d9f',
    950: '#000000',
  },
}
SCSS
$custom: #623d9f;
$custom-light: #9374bc;
$custom-dark: #000000;
JSON
{
  "hex": "#623d9f",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 262.653,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.15247,
    "h": 297.4
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#623D9F
secondary
#A3BB7D
accent
#D454A4
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #623D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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