#6225A2#6225A2

#6225A2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.187 H 300.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6225A2
RGBrgb(98, 37, 162)
HSLhsl(269, 63%, 39%)
HSVhsv(269, 77%, 64%)
CMYKcmyk(39.5%, 77.2%, 0%, 36.5%)
CIE-LABlab(30.71, 51.02, -56.20)
CIE-LCHlch(30.71, 75.90, 312.23°)
OKLaboklab(42.57% 0.0952 -0.1605)
OKLCHoklch(42.57% 0.187 300.7)
XYZxyz(12.2185, 6.5283, 34.7918)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225A2 #65A225
analogous
#2527A2 #6225A2 #A125A2
triadic
#6225A2 #A26225 #25A262
tetradic
#6225A2 #A22527 #65A225 #25A2A1
square
#6225A2 #A22527 #65A225 #25A2A1
split-complementary
#6225A2 #A2A125 #27A225
monochromatic
#260E3E #441A70 #6225A2 #8034D1 #9F65DC

Accessibility & contrast

On white

9.11
#6225A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6225A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225A2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225A2#FFFFFF#000000##FFFFFF
##6225A21.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#534662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6225a2;
/* rgb */ color: rgb(98, 37, 162);
/* oklch */ color: oklch(42.6% 0.187 300.7);
Tailwind
colors: {
  custom: {
    50: '#9566be',
    500: '#6225a2',
    950: '#000000',
  },
}
SCSS
$custom: #6225a2;
$custom-light: #9566be;
$custom-dark: #000000;
JSON
{
  "hex": "#6225a2",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 269.28,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.18663,
    "h": 300.7
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#6225A2
secondary
#93C261
accent
#E64296
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6225A2

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

Preview Lab → · Contrast checker → · Palette generator →

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