#6227A9#6227A9

#6227A9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.192 H 298.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6227A9
RGBrgb(98, 39, 169)
HSLhsl(267, 63%, 41%)
HSVhsv(267, 77%, 66%)
CMYKcmyk(42%, 76.9%, 0%, 33.7%)
CIE-LABlab(31.61, 51.90, -58.96)
CIE-LCHlch(31.61, 78.55, 311.36°)
OKLaboklab(43.39% 0.0916 -0.1686)
OKLCHoklch(43.39% 0.192 298.5)
XYZxyz(12.9221, 6.9121, 38.1818)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6227A9 #6EA927
analogous
#272DA9 #6227A9 #A327A9
triadic
#6227A9 #A96227 #27A962
tetradic
#6227A9 #A9272D #6EA927 #27A9A3
square
#6227A9 #A9272D #6EA927 #27A9A3
split-complementary
#6227A9 #A9A327 #2DA927
monochromatic
#281046 #451C77 #6227A9 #803BD2 #A06DDD

Accessibility & contrast

On white

8.81
#6227A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6227A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6227A9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6227A9#FFFFFF#000000##FFFFFF
##6227A91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6227a9;
/* rgb */ color: rgb(98, 39, 169);
/* oklch */ color: oklch(43.4% 0.192 298.5);
Tailwind
colors: {
  custom: {
    50: '#9568c4',
    500: '#6227a9',
    950: '#000000',
  },
}
SCSS
$custom: #6227a9;
$custom-light: #9568c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6227a9",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 267.231,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43389,
    "c": 0.19193,
    "h": 298.5
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#6227A9
secondary
#9AC468
accent
#E6429B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6227A9

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

Preview Lab → · Contrast checker → · Palette generator →

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