#6223A4#6223A4

#6223A4 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.191 H 300.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6223A4
RGBrgb(98, 35, 164)
HSLhsl(269, 65%, 39%)
HSVhsv(269, 79%, 64%)
CMYKcmyk(40.2%, 78.7%, 0%, 35.7%)
CIE-LABlab(30.59, 52.34, -57.60)
CIE-LCHlch(30.59, 77.83, 312.26°)
OKLaboklab(42.54% 0.0964 -0.1646)
OKLCHoklch(42.54% 0.191 300.3)
XYZxyz(12.3372, 6.4790, 35.7153)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223A4 #65A423
analogous
#2325A4 #6223A4 #A323A4
triadic
#6223A4 #A46223 #23A462
tetradic
#6223A4 #A42325 #65A423 #23A4A3
square
#6223A4 #A42325 #65A423 #23A4A3
split-complementary
#6223A4 #A4A323 #25A423
monochromatic
#260D3F #441872 #6223A4 #8031D3 #9F64DE

Accessibility & contrast

On white

9.15
#6223A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6223A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223A4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223A4#FFFFFF#000000##FFFFFF
##6223A41.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#534663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6223a4;
/* rgb */ color: rgb(98, 35, 164);
/* oklch */ color: oklch(42.5% 0.191 300.3);
Tailwind
colors: {
  custom: {
    50: '#9566c0',
    500: '#6223a4',
    950: '#000000',
  },
}
SCSS
$custom: #6223a4;
$custom-light: #9566c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6223a4",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 269.302,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.19077,
    "h": 300.3
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#6223A4
secondary
#93C360
accent
#E84096
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6223A4

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

Preview Lab → · Contrast checker → · Palette generator →

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