#6223AE#6223AE

#6223AE is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.201 H 297.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6223AE
RGBrgb(98, 35, 174)
HSLhsl(267, 67%, 41%)
HSVhsv(267, 80%, 68%)
CMYKcmyk(43.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(31.47, 54.80, -62.17)
CIE-LCHlch(31.47, 82.88, 311.39°)
OKLaboklab(43.43% 0.0934 -0.1781)
OKLCHoklch(43.43% 0.201 297.7)
XYZxyz(13.2760, 6.8545, 40.6598)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223AE #6FAE23
analogous
#232AAE #6223AE #A723AE
triadic
#6223AE #AE6223 #23AE62
tetradic
#6223AE #AE232A #6FAE23 #23AEA7
square
#6223AE #AE232A #6FAE23 #23AEA7
split-complementary
#6223AE #AEA723 #2AAE23
monochromatic
#290F48 #45197B #6223AE #8037D7 #A06AE1

Accessibility & contrast

On white

8.86
#6223AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6223AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223AE
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223AE#FFFFFF#000000##FFFFFF
##6223AE1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#4E4A69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6223ae;
/* rgb */ color: rgb(98, 35, 174);
/* oklch */ color: oklch(43.4% 0.201 297.7);
Tailwind
colors: {
  custom: {
    50: '#9666c7',
    500: '#6223ae',
    950: '#000000',
  },
}
SCSS
$custom: #6223ae;
$custom-light: #9666c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6223ae",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 267.194,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.20107,
    "h": 297.7
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#6223AE
secondary
#9BC766
accent
#E93E9C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6223AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva