#6223A0#6223A0

#6223A0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.187 H 301.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6223A0
RGBrgb(98, 35, 160)
HSLhsl(270, 64%, 38%)
HSVhsv(270, 78%, 63%)
CMYKcmyk(38.8%, 78.1%, 0%, 37.3%)
CIE-LABlab(30.25, 51.37, -55.74)
CIE-LCHlch(30.25, 75.80, 312.66°)
OKLaboklab(42.2% 0.0975 -0.1592)
OKLCHoklch(42.2% 0.187 301.5)
XYZxyz(11.9816, 6.3367, 33.8428)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223A0 #61A023
analogous
#2323A0 #6223A0 #A0239F
triadic
#6223A0 #A06223 #23A062
tetradic
#6223A0 #A02323 #61A023 #239FA0
square
#6223A0 #A02323 #61A023 #239FA0
split-complementary
#6223A0 #9FA023 #23A023
monochromatic
#240D3C #43186E #6223A0 #812FD1 #9F61DC

Accessibility & contrast

On white

9.26
#6223A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6223A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223A0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223A0#FFFFFF#000000##FFFFFF
##6223A01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#544461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6223a0;
/* rgb */ color: rgb(98, 35, 160);
/* oklch */ color: oklch(42.2% 0.187 301.5);
Tailwind
colors: {
  custom: {
    50: '#9565bd',
    500: '#6223a0',
    950: '#000000',
  },
}
SCSS
$custom: #6223a0;
$custom-light: #9565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6223a0",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 270.24,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.18663,
    "h": 301.5
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#6223A0
secondary
#8FC15D
accent
#E74193
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6223A0

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

Preview Lab → · Contrast checker → · Palette generator →

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