#6225B0#6225B0

#6225B0 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.201 H 297.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6225B0
RGBrgb(98, 37, 176)
HSLhsl(266, 65%, 42%)
HSVhsv(266, 79%, 69%)
CMYKcmyk(44.3%, 79%, 0%, 31%)
CIE-LABlab(31.93, 54.50, -62.62)
CIE-LCHlch(31.93, 83.01, 311.03°)
OKLaboklab(43.8% 0.0913 -0.1794)
OKLCHoklch(43.8% 0.201 297)
XYZxyz(13.5330, 7.0541, 41.7144)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225B0 #73B025
analogous
#252EB0 #6225B0 #A825B0
triadic
#6225B0 #B06225 #25B062
tetradic
#6225B0 #B0252E #73B025 #25B0A8
square
#6225B0 #B0252E #73B025 #25B0A8
split-complementary
#6225B0 #B0A825 #2EB025
monochromatic
#2A104B #461A7D #6225B0 #803CD6 #A16FE1

Accessibility & contrast

On white

8.71
#6225B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6225B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225B0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225B0#FFFFFF#000000##FFFFFF
##6225B01.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#4D4C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6225b0;
/* rgb */ color: rgb(98, 37, 176);
/* oklch */ color: oklch(43.8% 0.201 297.0);
Tailwind
colors: {
  custom: {
    50: '#9667c9',
    500: '#6225b0',
    950: '#000000',
  },
}
SCSS
$custom: #6225b0;
$custom-light: #9667c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6225b0",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 266.331,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.20128,
    "h": 297
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6225B0

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

Preview Lab → · Contrast checker → · Palette generator →

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