#6225AC#6225AC

#6225AC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.197 H 298.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6225AC
RGBrgb(98, 37, 172)
HSLhsl(267, 65%, 41%)
HSVhsv(267, 78%, 67%)
CMYKcmyk(43%, 78.5%, 0%, 32.5%)
CIE-LABlab(31.57, 53.50, -60.81)
CIE-LCHlch(31.57, 80.99, 311.34°)
OKLaboklab(43.45% 0.0925 -0.1741)
OKLCHoklch(43.45% 0.197 298)
XYZxyz(13.1430, 6.8981, 39.6607)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225AC #6FAC25
analogous
#252CAC #6225AC #A525AC
triadic
#6225AC #AC6225 #25AC62
tetradic
#6225AC #AC252C #6FAC25 #25ACA5
square
#6225AC #AC252C #6FAC25 #25ACA5
split-complementary
#6225AC #ACA525 #2CAC25
monochromatic
#290F47 #451A7A #6225AC #803AD5 #A06CDF

Accessibility & contrast

On white

8.83
#6225AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6225AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225AC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225AC#FFFFFF#000000##FFFFFF
##6225AC1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#4F4A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6225ac;
/* rgb */ color: rgb(98, 37, 172);
/* oklch */ color: oklch(43.4% 0.197 298.0);
Tailwind
colors: {
  custom: {
    50: '#9667c6',
    500: '#6225ac',
    950: '#000000',
  },
}
SCSS
$custom: #6225ac;
$custom-light: #9667c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6225ac",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 267.111,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.1971,
    "h": 298
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#6225AC
secondary
#9BC667
accent
#E8409C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6225AC

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

Preview Lab → · Contrast checker → · Palette generator →

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