#6226A3#6226A3

#6226A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 300.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6226A3
RGBrgb(98, 38, 163)
HSLhsl(269, 62%, 39%)
HSVhsv(269, 77%, 64%)
CMYKcmyk(39.9%, 76.7%, 0%, 36.1%)
CIE-LABlab(30.94, 50.84, -56.42)
CIE-LCHlch(30.94, 75.95, 312.02°)
OKLaboklab(42.77% 0.0941 -0.1612)
OKLCHoklch(42.77% 0.187 300.3)
XYZxyz(12.3393, 6.6271, 35.2723)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6226A3 #67A326
analogous
#2629A3 #6226A3 #A126A3
triadic
#6226A3 #A36226 #26A362
tetradic
#6226A3 #A32629 #67A326 #26A3A1
square
#6226A3 #A32629 #67A326 #26A3A1
split-complementary
#6226A3 #A3A126 #29A326
monochromatic
#260F40 #441A71 #6226A3 #8036D0 #9F68DC

Accessibility & contrast

On white

9.03
#6226A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6226A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6226A3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6226A3#FFFFFF#000000##FFFFFF
##6226A31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#534763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6226a3;
/* rgb */ color: rgb(98, 38, 163);
/* oklch */ color: oklch(42.8% 0.187 300.3);
Tailwind
colors: {
  custom: {
    50: '#9567bf',
    500: '#6226a3',
    950: '#000000',
  },
}
SCSS
$custom: #6226a3;
$custom-light: #9567bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6226a3",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 268.8,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.18663,
    "h": 300.3
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#6226A3
secondary
#94C263
accent
#E54397
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6226A3

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

Preview Lab → · Contrast checker → · Palette generator →

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