#623882#623882

#623882 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.7% C 0.124 H 308.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#623882
RGBrgb(98, 56, 130)
HSLhsl(274, 40%, 36%)
HSVhsv(274, 57%, 51%)
CMYKcmyk(24.6%, 56.9%, 0%, 49%)
CIE-LABlab(31.89, 33.33, -34.65)
CIE-LCHlch(31.89, 48.08, 313.89°)
OKLaboklab(42.69% 0.0767 -0.0974)
OKLCHoklch(42.69% 0.124 308.2)
XYZxyz(10.4796, 7.0369, 21.9209)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623882 #588238
analogous
#3D3882 #623882 #82387D
triadic
#623882 #826238 #388262
tetradic
#623882 #823D38 #588238 #387D82
square
#623882 #823D38 #588238 #387D82
split-complementary
#623882 #7D8238 #38823D
monochromatic
#22132C #422657 #623882 #824AAD #A072C2

Accessibility & contrast

On white

8.72
#623882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#623882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623882
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623882#FFFFFF#000000##FFFFFF
##6238821.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#2F4C80
Tritanopia (blue-blind)
#5D4557
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623882;
/* rgb */ color: rgb(98, 56, 130);
/* oklch */ color: oklch(42.7% 0.124 308.2);
Tailwind
colors: {
  custom: {
    50: '#9170a7',
    500: '#623882',
    950: '#000000',
  },
}
SCSS
$custom: #623882;
$custom-light: #9170a7;
$custom-dark: #000000;
JSON
{
  "hex": "#623882",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 274.054,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.12393,
    "h": 308.2
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#623882
secondary
#87AB6B
accent
#D0588C
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #623882

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

Preview Lab → · Contrast checker → · Palette generator →

#623882 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva