#6223A8#6223A8

#6223A8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.195 H 299.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6223A8
RGBrgb(98, 35, 168)
HSLhsl(268, 66%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(41.7%, 79.2%, 0%, 34.1%)
CIE-LABlab(30.94, 53.32, -59.45)
CIE-LCHlch(30.94, 79.86, 311.89°)
OKLaboklab(42.9% 0.0952 -0.17)
OKLCHoklch(42.9% 0.195 299.2)
XYZxyz(12.7041, 6.6257, 37.6478)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223A8 #69A823
analogous
#2327A8 #6223A8 #A423A8
triadic
#6223A8 #A86223 #23A862
tetradic
#6223A8 #A82327 #69A823 #23A8A4
square
#6223A8 #A82327 #69A823 #23A8A4
split-complementary
#6223A8 #A8A423 #27A823
monochromatic
#270E43 #441875 #6223A8 #8034D5 #A066DF

Accessibility & contrast

On white

9.03
#6223A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6223A8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223A8#FFFFFF#000000##FFFFFF
##6223A81.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#514765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6223a8;
/* rgb */ color: rgb(98, 35, 168);
/* oklch */ color: oklch(42.9% 0.195 299.2);
Tailwind
colors: {
  custom: {
    50: '#9666c3',
    500: '#6223a8',
    950: '#000000',
  },
}
SCSS
$custom: #6223a8;
$custom-light: #9666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6223a8",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 268.421,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.19489,
    "h": 299.2
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#6223A8
secondary
#96C562
accent
#E83F98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223A8

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

Preview Lab → · Contrast checker → · Palette generator →

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