#6223BC#6223BC

#6223BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.215 H 294.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6223BC
RGBrgb(98, 35, 188)
HSLhsl(265, 69%, 44%)
HSVhsv(265, 81%, 74%)
CMYKcmyk(47.9%, 81.4%, 0%, 26.3%)
CIE-LABlab(32.76, 58.27, -68.38)
CIE-LCHlch(32.76, 89.84, 310.44°)
OKLaboklab(44.72% 0.0889 -0.1962)
OKLCHoklch(44.72% 0.215 294.4)
XYZxyz(14.7126, 7.4291, 48.2260)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223BC #7DBC23
analogous
#2330BC #6223BC #AE23BC
triadic
#6223BC #BC6223 #23BC62
tetradic
#6223BC #BC2330 #7DBC23 #23BCAE
square
#6223BC #BC2330 #7DBC23 #23BCAE
split-complementary
#6223BC #BCAE23 #30BC23
monochromatic
#2C1055 #471988 #6223BC #8041DC #A374E5

Accessibility & contrast

On white

8.45
#6223BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6223BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223BC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223BC#FFFFFF#000000##FFFFFF
##6223BC1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#475071
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6223bc;
/* rgb */ color: rgb(98, 35, 188);
/* oklch */ color: oklch(44.7% 0.215 294.4);
Tailwind
colors: {
  custom: {
    50: '#9867d1',
    500: '#6223bc',
    950: '#000000',
  },
}
SCSS
$custom: #6223bc;
$custom-light: #9867d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6223bc",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 264.706,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.21543,
    "h": 294.4
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#6223BC
secondary
#A6CC6F
accent
#EB3CA3
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6223BC

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

Preview Lab → · Contrast checker → · Palette generator →

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