#6223B1#6223B1

#6223B1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.204 H 296.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6223B1
RGBrgb(98, 35, 177)
HSLhsl(267, 67%, 42%)
HSVhsv(267, 80%, 69%)
CMYKcmyk(44.6%, 80.2%, 0%, 30.6%)
CIE-LABlab(31.74, 55.54, -63.52)
CIE-LCHlch(31.74, 84.38, 311.17°)
OKLaboklab(43.7% 0.0925 -0.182)
OKLCHoklch(43.7% 0.204 296.9)
XYZxyz(13.5717, 6.9728, 42.2173)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223B1 #72B123
analogous
#232BB1 #6223B1 #A923B1
triadic
#6223B1 #B16223 #23B162
tetradic
#6223B1 #B1232B #72B123 #23B1A9
square
#6223B1 #B1232B #72B123 #23B1A9
split-complementary
#6223B1 #B1A923 #2BB123
monochromatic
#290F4B #46197E #6223B1 #8039D8 #A16CE2

Accessibility & contrast

On white

8.77
#6223B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6223B1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223B1#FFFFFF#000000##FFFFFF
##6223B11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#4D4B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6223b1;
/* rgb */ color: rgb(98, 35, 177);
/* oklch */ color: oklch(43.7% 0.204 296.9);
Tailwind
colors: {
  custom: {
    50: '#9766c9',
    500: '#6223b1',
    950: '#000000',
  },
}
SCSS
$custom: #6223b1;
$custom-light: #9766c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6223b1",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 266.62,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.20416,
    "h": 296.9
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#6223B1
secondary
#9DC868
accent
#EA3E9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6223B1

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

Preview Lab → · Contrast checker → · Palette generator →

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