#6225A9#6225A9

#6225A9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.194 H 298.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6225A9
RGBrgb(98, 37, 169)
HSLhsl(268, 64%, 40%)
HSVhsv(268, 78%, 66%)
CMYKcmyk(42%, 78.1%, 0%, 33.7%)
CIE-LABlab(31.31, 52.75, -59.44)
CIE-LCHlch(31.31, 79.47, 311.59°)
OKLaboklab(43.18% 0.0933 -0.17)
OKLCHoklch(43.18% 0.194 298.8)
XYZxyz(12.8582, 6.7842, 38.1605)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225A9 #6CA925
analogous
#252AA9 #6225A9 #A425A9
triadic
#6225A9 #A96225 #25A962
tetradic
#6225A9 #A9252A #6CA925 #25A9A4
square
#6225A9 #A9252A #6CA925 #25A9A4
split-complementary
#6225A9 #A9A425 #2AA925
monochromatic
#280F45 #451A77 #6225A9 #8038D3 #A06ADE

Accessibility & contrast

On white

8.91
#6225A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6225A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225A9
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225A9#FFFFFF#000000##FFFFFF
##6225A91.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6225a9;
/* rgb */ color: rgb(98, 37, 169);
/* oklch */ color: oklch(43.2% 0.194 298.8);
Tailwind
colors: {
  custom: {
    50: '#9667c4',
    500: '#6225a9',
    950: '#000000',
  },
}
SCSS
$custom: #6225a9;
$custom-light: #9667c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6225a9",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 267.727,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.19396,
    "h": 298.8
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#6225A9
secondary
#99C465
accent
#E7419A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6225A9

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

Preview Lab → · Contrast checker → · Palette generator →

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