#6225B1#6225B1

#6225B1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.202 H 296.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6225B1
RGBrgb(98, 37, 177)
HSLhsl(266, 65%, 42%)
HSVhsv(266, 79%, 69%)
CMYKcmyk(44.6%, 79.1%, 0%, 30.6%)
CIE-LABlab(32.02, 54.75, -63.07)
CIE-LCHlch(32.02, 83.52, 310.96°)
OKLaboklab(43.89% 0.091 -0.1807)
OKLCHoklch(43.89% 0.202 296.7)
XYZxyz(13.6323, 7.0938, 42.2375)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225B1 #74B125
analogous
#252EB1 #6225B1 #A825B1
triadic
#6225B1 #B16225 #25B162
tetradic
#6225B1 #B1252E #74B125 #25B1A8
square
#6225B1 #B1252E #74B125 #25B1A8
split-complementary
#6225B1 #B1A825 #2EB125
monochromatic
#2A104C #461A7E #6225B1 #803DD6 #A16FE1

Accessibility & contrast

On white

8.68
#6225B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6225B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225B1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225B1#FFFFFF#000000##FFFFFF
##6225B11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#4D4C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6225b1;
/* rgb */ color: rgb(98, 37, 177);
/* oklch */ color: oklch(43.9% 0.202 296.7);
Tailwind
colors: {
  custom: {
    50: '#9667c9',
    500: '#6225b1',
    950: '#000000',
  },
}
SCSS
$custom: #6225b1;
$custom-light: #9667c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6225b1",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 266.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43894,
    "c": 0.20232,
    "h": 296.7
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#6225B1
secondary
#9FC86A
accent
#E83F9F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6225B1

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

Preview Lab → · Contrast checker → · Palette generator →

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