#6225A7#6225A7

#6225A7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.192 H 299.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6225A7
RGBrgb(98, 37, 167)
HSLhsl(268, 64%, 40%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.3%, 77.8%, 0%, 34.5%)
CIE-LABlab(31.14, 52.25, -58.52)
CIE-LCHlch(31.14, 78.45, 311.76°)
OKLaboklab(43.01% 0.0939 -0.1673)
OKLCHoklch(43.01% 0.192 299.3)
XYZxyz(12.6719, 6.7097, 37.1792)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225A7 #6AA725
analogous
#2529A7 #6225A7 #A325A7
triadic
#6225A7 #A76225 #25A762
tetradic
#6225A7 #A72529 #6AA725 #25A7A3
square
#6225A7 #A72529 #6AA725 #25A7A3
split-complementary
#6225A7 #A7A325 #29A725
monochromatic
#270F43 #451A75 #6225A7 #8037D3 #A069DE

Accessibility & contrast

On white

8.97
#6225A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6225A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225A7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225A7#FFFFFF#000000##FFFFFF
##6225A71.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#514865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6225a7;
/* rgb */ color: rgb(98, 37, 167);
/* oklch */ color: oklch(43.0% 0.192 299.3);
Tailwind
colors: {
  custom: {
    50: '#9567c2',
    500: '#6225a7',
    950: '#000000',
  },
}
SCSS
$custom: #6225a7;
$custom-light: #9567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6225a7",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 268.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.19188,
    "h": 299.3
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#6225A7
secondary
#97C464
accent
#E74199
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6225A7

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

Preview Lab → · Contrast checker → · Palette generator →

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