#6225AF#6225AF

#6225AF is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.200 H 297.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6225AF
RGBrgb(98, 37, 175)
HSLhsl(267, 65%, 42%)
HSVhsv(267, 79%, 69%)
CMYKcmyk(44%, 78.9%, 0%, 31.4%)
CIE-LABlab(31.84, 54.24, -62.17)
CIE-LCHlch(31.84, 82.51, 311.11°)
OKLaboklab(43.71% 0.0916 -0.1781)
OKLCHoklch(43.71% 0.2 297.2)
XYZxyz(13.4344, 7.0147, 41.1953)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225AF #72AF25
analogous
#252DAF #6225AF #A725AF
triadic
#6225AF #AF6225 #25AF62
tetradic
#6225AF #AF252D #72AF25 #25AFA7
square
#6225AF #AF252D #72AF25 #25AFA7
split-complementary
#6225AF #AFA725 #2DAF25
monochromatic
#29104A #461A7C #6225AF #803CD6 #A16EE0

Accessibility & contrast

On white

8.74
#6225AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6225AF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225AF#FFFFFF#000000##FFFFFF
##6225AF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#4E4B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6225af;
/* rgb */ color: rgb(98, 37, 175);
/* oklch */ color: oklch(43.7% 0.200 297.2);
Tailwind
colors: {
  custom: {
    50: '#9667c8',
    500: '#6225af',
    950: '#000000',
  },
}
SCSS
$custom: #6225af;
$custom-light: #9667c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6225af",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 266.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.20023,
    "h": 297.2
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#6225AF
secondary
#9DC769
accent
#E8409E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6225AF

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

Preview Lab → · Contrast checker → · Palette generator →

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