#6226A9#6226A9

#6226A9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.193 H 298.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6226A9
RGBrgb(98, 38, 169)
HSLhsl(267, 63%, 41%)
HSVhsv(267, 78%, 66%)
CMYKcmyk(42%, 77.5%, 0%, 33.7%)
CIE-LABlab(31.46, 52.33, -59.20)
CIE-LCHlch(31.46, 79.01, 311.47°)
OKLaboklab(43.28% 0.0925 -0.1693)
OKLCHoklch(43.28% 0.193 298.6)
XYZxyz(12.8897, 6.8473, 38.1710)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6226A9 #6DA926
analogous
#262BA9 #6226A9 #A326A9
triadic
#6226A9 #A96226 #26A962
tetradic
#6226A9 #A9262B #6DA926 #26A9A3
square
#6226A9 #A9262B #6DA926 #26A9A3
split-complementary
#6226A9 #A9A326 #2BA926
monochromatic
#281045 #451B77 #6226A9 #803AD3 #A06CDE

Accessibility & contrast

On white

8.86
#6226A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6226A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6226A9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6226A9#FFFFFF#000000##FFFFFF
##6226A91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#504967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6226a9;
/* rgb */ color: rgb(98, 38, 169);
/* oklch */ color: oklch(43.3% 0.193 298.6);
Tailwind
colors: {
  custom: {
    50: '#9667c4',
    500: '#6226a9',
    950: '#000000',
  },
}
SCSS
$custom: #6226a9;
$custom-light: #9667c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6226a9",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 267.481,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43284,
    "c": 0.19296,
    "h": 298.6
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#6226A9
secondary
#99C467
accent
#E6419B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6226A9

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

Preview Lab → · Contrast checker → · Palette generator →

#6226A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva