#6223BD#6223BD

#6223BD is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.216 H 294.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6223BD
RGBrgb(98, 35, 189)
HSLhsl(265, 69%, 44%)
HSVhsv(265, 81%, 74%)
CMYKcmyk(48.1%, 81.5%, 0%, 25.9%)
CIE-LABlab(32.86, 58.52, -68.81)
CIE-LCHlch(32.86, 90.33, 310.38°)
OKLaboklab(44.81% 0.0886 -0.1975)
OKLCHoklch(44.81% 0.216 294.2)
XYZxyz(14.8208, 7.4724, 48.7957)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223BD #7EBD23
analogous
#2331BD #6223BD #AF23BD
triadic
#6223BD #BD6223 #23BD62
tetradic
#6223BD #BD2331 #7EBD23 #23BDAF
square
#6223BD #BD2331 #7EBD23 #23BDAF
split-complementary
#6223BD #BDAF23 #31BD23
monochromatic
#2C1056 #471989 #6223BD #8141DC #A375E5

Accessibility & contrast

On white

8.42
#6223BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6223BD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223BD#FFFFFF#000000##FFFFFF
##6223BD1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#465072
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6223bd;
/* rgb */ color: rgb(98, 35, 189);
/* oklch */ color: oklch(44.8% 0.216 294.2);
Tailwind
colors: {
  custom: {
    50: '#9867d2',
    500: '#6223bd',
    950: '#000000',
  },
}
SCSS
$custom: #6223bd;
$custom-light: #9867d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6223bd",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 264.545,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.21645,
    "h": 294.2
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#6223BD
secondary
#A6CD6F
accent
#EC3CA4
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6223BD

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

Preview Lab → · Contrast checker → · Palette generator →

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