#6225A6#6225A6

#6225A6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.191 H 299.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6225A6
RGBrgb(98, 37, 166)
HSLhsl(268, 64%, 40%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41%, 77.7%, 0%, 34.9%)
CIE-LABlab(31.05, 52.01, -58.06)
CIE-LCHlch(31.05, 77.95, 311.85°)
OKLaboklab(42.92% 0.0941 -0.166)
OKLCHoklch(42.92% 0.191 299.6)
XYZxyz(12.5798, 6.6728, 36.6942)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225A6 #69A625
analogous
#2529A6 #6225A6 #A325A6
triadic
#6225A6 #A66225 #25A662
tetradic
#6225A6 #A62529 #69A625 #25A6A3
square
#6225A6 #A62529 #69A625 #25A6A3
split-complementary
#6225A6 #A6A325 #29A625
monochromatic
#270F42 #441A74 #6225A6 #8036D2 #A068DD

Accessibility & contrast

On white

9.00
#6225A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6225A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225A6
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225A6#FFFFFF#000000##FFFFFF
##6225A61.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#524865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6225a6;
/* rgb */ color: rgb(98, 37, 166);
/* oklch */ color: oklch(42.9% 0.191 299.6);
Tailwind
colors: {
  custom: {
    50: '#9567c1',
    500: '#6225a6',
    950: '#000000',
  },
}
SCSS
$custom: #6225a6;
$custom-light: #9567c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6225a6",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 268.372,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.19083,
    "h": 299.6
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#6225A6
secondary
#96C364
accent
#E74198
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6225A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6225A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva