#623182#623182

#623182 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.135 H 309.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#623182
RGBrgb(98, 49, 130)
HSLhsl(276, 45%, 35%)
HSVhsv(276, 62%, 51%)
CMYKcmyk(24.6%, 62.3%, 0%, 49%)
CIE-LABlab(30.41, 37.27, -37.01)
CIE-LCHlch(30.41, 52.52, 315.20°)
OKLaboklab(41.61% 0.0864 -0.1042)
OKLCHoklch(41.61% 0.135 309.6)
XYZxyz(10.1638, 6.4052, 21.8157)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623182 #518231
analogous
#393182 #623182 #823179
triadic
#623182 #826231 #318262
tetradic
#623182 #823931 #518231 #317982
square
#623182 #823931 #518231 #317982
split-complementary
#623182 #798231 #318239
monochromatic
#1F0F29 #402056 #623182 #8442AE #A168C6

Accessibility & contrast

On white

9.21
#623182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#623182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623182
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623182#FFFFFF#000000##FFFFFF
##6231821.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#5E4054
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #623182;
/* rgb */ color: rgb(98, 49, 130);
/* oklch */ color: oklch(41.6% 0.135 309.6);
Tailwind
colors: {
  custom: {
    50: '#916ca7',
    500: '#623182',
    950: '#000000',
  },
}
SCSS
$custom: #623182;
$custom-light: #916ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#623182",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 276.296,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.13536,
    "h": 309.6
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#623182
secondary
#7FAD62
accent
#D55386
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #623182

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

Preview Lab → · Contrast checker → · Palette generator →

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