#6223B0#6223B0

#6223B0 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.203 H 297.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6223B0
RGBrgb(98, 35, 176)
HSLhsl(267, 67%, 41%)
HSVhsv(267, 80%, 69%)
CMYKcmyk(44.3%, 80.1%, 0%, 31%)
CIE-LABlab(31.65, 55.29, -63.07)
CIE-LCHlch(31.65, 83.88, 311.24°)
OKLaboklab(43.61% 0.0928 -0.1807)
OKLCHoklch(43.61% 0.203 297.2)
XYZxyz(13.4724, 6.9330, 41.6943)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223B0 #71B023
analogous
#232AB0 #6223B0 #A923B0
triadic
#6223B0 #B06223 #23B062
tetradic
#6223B0 #B0232A #71B023 #23B0A9
square
#6223B0 #B0232A #71B023 #23B0A9
split-complementary
#6223B0 #B0A923 #2AB023
monochromatic
#290F4A #46197D #6223B0 #8039D8 #A06CE2

Accessibility & contrast

On white

8.80
#6223B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6223B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223B0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223B0#FFFFFF#000000##FFFFFF
##6223B01.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#4D4B6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6223b0;
/* rgb */ color: rgb(98, 35, 176);
/* oklch */ color: oklch(43.6% 0.203 297.2);
Tailwind
colors: {
  custom: {
    50: '#9666c9',
    500: '#6223b0',
    950: '#000000',
  },
}
SCSS
$custom: #6223b0;
$custom-light: #9666c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6223b0",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 266.809,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43612,
    "c": 0.20312,
    "h": 297.2
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#6223B0
secondary
#9DC867
accent
#EA3E9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223B0

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

Preview Lab → · Contrast checker → · Palette generator →

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