#6223AC#6223AC

#6223AC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.199 H 298.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6223AC
RGBrgb(98, 35, 172)
HSLhsl(268, 66%, 41%)
HSVhsv(268, 80%, 67%)
CMYKcmyk(43%, 79.7%, 0%, 32.5%)
CIE-LABlab(31.29, 54.31, -61.27)
CIE-LCHlch(31.29, 81.87, 311.55°)
OKLaboklab(43.25% 0.094 -0.1754)
OKLCHoklch(43.25% 0.199 298.2)
XYZxyz(13.0825, 6.7771, 39.6406)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223AC #6DAC23
analogous
#2328AC #6223AC #A623AC
triadic
#6223AC #AC6223 #23AC62
tetradic
#6223AC #AC2328 #6DAC23 #23ACA6
square
#6223AC #AC2328 #6DAC23 #23ACA6
split-complementary
#6223AC #ACA623 #28AC23
monochromatic
#280E46 #451979 #6223AC #8036D6 #A069E0

Accessibility & contrast

On white

8.92
#6223AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6223AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223AC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223AC#FFFFFF#000000##FFFFFF
##6223AC1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#4F4968
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6223ac;
/* rgb */ color: rgb(98, 35, 172);
/* oklch */ color: oklch(43.3% 0.199 298.2);
Tailwind
colors: {
  custom: {
    50: '#9666c6',
    500: '#6223ac',
    950: '#000000',
  },
}
SCSS
$custom: #6223ac;
$custom-light: #9666c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6223ac",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 267.591,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43252,
    "c": 0.19901,
    "h": 298.2
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#6223AC
secondary
#99C664
accent
#E93F9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223AC

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

Preview Lab → · Contrast checker → · Palette generator →

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