#6223A7#6223A7

#6223A7 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.194 H 299.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6223A7
RGBrgb(98, 35, 167)
HSLhsl(269, 65%, 40%)
HSVhsv(269, 79%, 65%)
CMYKcmyk(41.3%, 79%, 0%, 34.5%)
CIE-LABlab(30.85, 53.08, -58.99)
CIE-LCHlch(30.85, 79.35, 311.98°)
OKLaboklab(42.81% 0.0955 -0.1687)
OKLCHoklch(42.81% 0.194 299.5)
XYZxyz(12.6113, 6.5886, 37.1590)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223A7 #68A723
analogous
#2326A7 #6223A7 #A423A7
triadic
#6223A7 #A76223 #23A762
tetradic
#6223A7 #A72326 #68A723 #23A7A4
square
#6223A7 #A72326 #68A723 #23A7A4
split-complementary
#6223A7 #A7A423 #26A723
monochromatic
#270E42 #441874 #6223A7 #8033D4 #9F66DF

Accessibility & contrast

On white

9.06
#6223A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6223A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223A7
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223A7#FFFFFF#000000##FFFFFF
##6223A71.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#514765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6223a7;
/* rgb */ color: rgb(98, 35, 167);
/* oklch */ color: oklch(42.8% 0.194 299.5);
Tailwind
colors: {
  custom: {
    50: '#9566c2',
    500: '#6223a7',
    950: '#000000',
  },
}
SCSS
$custom: #6223a7;
$custom-light: #9566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6223a7",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 268.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.19386,
    "h": 299.5
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#6223A7
secondary
#95C461
accent
#E83F98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6223A7

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

Preview Lab → · Contrast checker → · Palette generator →

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