#6223AF#6223AF

#6223AF is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.202 H 297.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6223AF
RGBrgb(98, 35, 175)
HSLhsl(267, 67%, 41%)
HSVhsv(267, 80%, 69%)
CMYKcmyk(44%, 80%, 0%, 31.4%)
CIE-LABlab(31.56, 55.05, -62.62)
CIE-LCHlch(31.56, 83.38, 311.32°)
OKLaboklab(43.52% 0.0931 -0.1794)
OKLCHoklch(43.52% 0.202 297.4)
XYZxyz(13.3739, 6.8936, 41.1751)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223AF #70AF23
analogous
#232AAF #6223AF #A823AF
triadic
#6223AF #AF6223 #23AF62
tetradic
#6223AF #AF232A #70AF23 #23AFA8
square
#6223AF #AF232A #70AF23 #23AFA8
split-complementary
#6223AF #AFA823 #2AAF23
monochromatic
#290F49 #45197C #6223AF #8038D7 #A06BE1

Accessibility & contrast

On white

8.83
#6223AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6223AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223AF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223AF#FFFFFF#000000##FFFFFF
##6223AF1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#4E4A69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6223af;
/* rgb */ color: rgb(98, 35, 175);
/* oklch */ color: oklch(43.5% 0.202 297.4);
Tailwind
colors: {
  custom: {
    50: '#9666c8',
    500: '#6223af',
    950: '#000000',
  },
}
SCSS
$custom: #6223af;
$custom-light: #9666c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6223af",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 267,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.2021,
    "h": 297.4
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#6223AF
secondary
#9CC766
accent
#EA3E9C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223AF

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

Preview Lab → · Contrast checker → · Palette generator →

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