#6225AE#6225AE

#6225AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.199 H 297.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6225AE
RGBrgb(98, 37, 174)
HSLhsl(267, 65%, 41%)
HSVhsv(267, 79%, 68%)
CMYKcmyk(43.7%, 78.7%, 0%, 31.8%)
CIE-LABlab(31.75, 54.00, -61.72)
CIE-LCHlch(31.75, 82.00, 311.18°)
OKLaboklab(43.63% 0.0919 -0.1767)
OKLCHoklch(43.63% 0.199 297.5)
XYZxyz(13.3366, 6.9755, 40.6799)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225AE #71AE25
analogous
#252DAE #6225AE #A725AE
triadic
#6225AE #AE6225 #25AE62
tetradic
#6225AE #AE252D #71AE25 #25AEA7
square
#6225AE #AE252D #71AE25 #25AEA7
split-complementary
#6225AE #AEA725 #2DAE25
monochromatic
#291049 #461A7C #6225AE #803BD5 #A06DE0

Accessibility & contrast

On white

8.77
#6225AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6225AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225AE
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225AE#FFFFFF#000000##FFFFFF
##6225AE1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#4E4B69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6225ae;
/* rgb */ color: rgb(98, 37, 174);
/* oklch */ color: oklch(43.6% 0.199 297.5);
Tailwind
colors: {
  custom: {
    50: '#9667c7',
    500: '#6225ae',
    950: '#000000',
  },
}
SCSS
$custom: #6225ae;
$custom-light: #9667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6225ae",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 266.715,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.19919,
    "h": 297.5
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#6225AE
secondary
#9DC668
accent
#E8409D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6225AE

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

Preview Lab → · Contrast checker → · Palette generator →

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