#6225A4#6225A4

#6225A4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.189 H 300.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6225A4
RGBrgb(98, 37, 164)
HSLhsl(269, 63%, 39%)
HSVhsv(269, 77%, 64%)
CMYKcmyk(40.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(30.88, 51.51, -57.13)
CIE-LCHlch(30.88, 76.93, 312.04°)
OKLaboklab(42.75% 0.0947 -0.1633)
OKLCHoklch(42.75% 0.189 300.1)
XYZxyz(12.3977, 6.6000, 35.7355)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225A4 #67A425
analogous
#2528A4 #6225A4 #A225A4
triadic
#6225A4 #A46225 #25A462
tetradic
#6225A4 #A42528 #67A425 #25A4A2
square
#6225A4 #A42528 #67A425 #25A4A2
split-complementary
#6225A4 #A4A225 #28A425
monochromatic
#260E40 #441A72 #6225A4 #8035D1 #9F67DD

Accessibility & contrast

On white

9.05
#6225A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6225A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225A4
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225A4#FFFFFF#000000##FFFFFF
##6225A41.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#534764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6225a4;
/* rgb */ color: rgb(98, 37, 164);
/* oklch */ color: oklch(42.7% 0.189 300.1);
Tailwind
colors: {
  custom: {
    50: '#9567c0',
    500: '#6225a4',
    950: '#000000',
  },
}
SCSS
$custom: #6225a4;
$custom-light: #9567c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6225a4",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 268.819,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.18873,
    "h": 300.1
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#6225A4
secondary
#94C262
accent
#E64297
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6225A4

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

Preview Lab → · Contrast checker → · Palette generator →

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