#623B82#623B82

#623B82 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 43.2% C 0.119 H 307.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#623B82
RGBrgb(98, 59, 130)
HSLhsl(273, 38%, 37%)
HSVhsv(273, 55%, 51%)
CMYKcmyk(24.6%, 54.6%, 0%, 49%)
CIE-LABlab(32.56, 31.58, -33.58)
CIE-LCHlch(32.56, 46.10, 313.24°)
OKLaboklab(43.18% 0.0724 -0.0942)
OKLCHoklch(43.18% 0.119 307.5)
XYZxyz(10.6294, 7.3364, 21.9709)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623B82 #5B823B
analogous
#3F3B82 #623B82 #823B7F
triadic
#623B82 #82623B #3B8262
tetradic
#623B82 #823F3B #5B823B #3B7F82
square
#623B82 #823F3B #5B823B #3B7F82
split-complementary
#623B82 #7F823B #3B823F
monochromatic
#23152E #422858 #623B82 #824EAC #9F76C1

Accessibility & contrast

On white

8.51
#623B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#623B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623B82
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623B82#FFFFFF#000000##FFFFFF
##623B821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#5D4858
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623b82;
/* rgb */ color: rgb(98, 59, 130);
/* oklch */ color: oklch(43.2% 0.119 307.5);
Tailwind
colors: {
  custom: {
    50: '#9172a7',
    500: '#623b82',
    950: '#000000',
  },
}
SCSS
$custom: #623b82;
$custom-light: #9172a7;
$custom-dark: #000000;
JSON
{
  "hex": "#623b82",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 272.958,
    "s": 37.566,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.11882,
    "h": 307.5
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#623B82
secondary
#89AB6E
accent
#CE5A8E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #623B82

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

Preview Lab → · Contrast checker → · Palette generator →

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