#6223A9#6223A9

#6223A9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.196 H 299.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6223A9
RGBrgb(98, 35, 169)
HSLhsl(268, 66%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(42%, 79.3%, 0%, 33.7%)
CIE-LABlab(31.03, 53.57, -59.90)
CIE-LCHlch(31.03, 80.36, 311.80°)
OKLaboklab(42.98% 0.0949 -0.1714)
OKLCHoklch(42.98% 0.196 299)
XYZxyz(12.7976, 6.6631, 38.1403)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223A9 #6AA923
analogous
#2327A9 #6223A9 #A523A9
triadic
#6223A9 #A96223 #23A962
tetradic
#6223A9 #A92327 #6AA923 #23A9A5
square
#6223A9 #A92327 #6AA923 #23A9A5
split-complementary
#6223A9 #A9A523 #27A923
monochromatic
#270E44 #451976 #6223A9 #8034D5 #A067DF

Accessibility & contrast

On white

9.00
#6223A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6223A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223A9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223A9#FFFFFF#000000##FFFFFF
##6223A91.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#504866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6223a9;
/* rgb */ color: rgb(98, 35, 169);
/* oklch */ color: oklch(43.0% 0.196 299.0);
Tailwind
colors: {
  custom: {
    50: '#9666c4',
    500: '#6223a9',
    950: '#000000',
  },
}
SCSS
$custom: #6223a9;
$custom-light: #9666c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6223a9",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 268.209,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.19592,
    "h": 299
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#6223A9
secondary
#97C563
accent
#E93F99
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223A9

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

Preview Lab → · Contrast checker → · Palette generator →

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