#623DB9#623DB9

#623DB9 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.185 H 291.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#623DB9
RGBrgb(98, 61, 185)
HSLhsl(258, 50%, 48%)
HSVhsv(258, 67%, 73%)
CMYKcmyk(47%, 67%, 0%, 27.5%)
CIE-LABlab(36.81, 45.30, -59.99)
CIE-LCHlch(36.81, 75.17, 307.06°)
OKLaboklab(47.5% 0.0676 -0.1718)
OKLCHoklch(47.5% 0.185 291.5)
XYZxyz(15.4602, 9.4364, 46.8964)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DB9 #94B93D
analogous
#3D56B9 #623DB9 #A03DB9
triadic
#623DB9 #B9623D #3DB962
tetradic
#623DB9 #B93D56 #94B93D #3DB9A0
square
#623DB9 #B93D56 #94B93D #3DB9A0
split-complementary
#623DB9 #B9A03D #56B93D
monochromatic
#311F5D #4A2E8B #623DB9 #8566CD #AA95DC

Accessibility & contrast

On white

7.27
#623DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#623DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623DB9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DB9#FFFFFF#000000##FFFFFF
##623DB91.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#475B76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #623db9;
/* rgb */ color: rgb(98, 61, 185);
/* oklch */ color: oklch(47.5% 0.185 291.5);
Tailwind
colors: {
  custom: {
    50: '#9675cf',
    500: '#623db9',
    950: '#000000',
  },
}
SCSS
$custom: #623db9;
$custom-light: #9675cf;
$custom-dark: #000000;
JSON
{
  "hex": "#623db9",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 257.903,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47495,
    "c": 0.1846,
    "h": 291.5
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#623DB9
secondary
#B5C78B
accent
#DA4EB0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #623DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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