#6225BC#6225BC

#6225BC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.214 H 294.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6225BC
RGBrgb(98, 37, 188)
HSLhsl(264, 67%, 44%)
HSVhsv(264, 80%, 74%)
CMYKcmyk(47.9%, 80.3%, 0%, 26.3%)
CIE-LABlab(33.03, 57.51, -67.94)
CIE-LCHlch(33.03, 89.01, 310.24°)
OKLaboklab(44.9% 0.0876 -0.195)
OKLCHoklch(44.9% 0.214 294.2)
XYZxyz(14.7732, 7.5502, 48.2462)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225BC #7FBC25
analogous
#2534BC #6225BC #AE25BC
triadic
#6225BC #BC6225 #25BC62
tetradic
#6225BC #BC2534 #7FBC25 #25BCAE
square
#6225BC #BC2534 #7FBC25 #25BCAE
split-complementary
#6225BC #BCAE25 #34BC25
monochromatic
#2D1156 #471B89 #6225BC #8144DA #A377E4

Accessibility & contrast

On white

8.37
#6225BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6225BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225BC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225BC#FFFFFF#000000##FFFFFF
##6225BC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#465171
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6225bc;
/* rgb */ color: rgb(98, 37, 188);
/* oklch */ color: oklch(44.9% 0.214 294.2);
Tailwind
colors: {
  custom: {
    50: '#9868d1',
    500: '#6225bc',
    950: '#000000',
  },
}
SCSS
$custom: #6225bc;
$custom-light: #9868d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6225bc",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 264.238,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.21374,
    "h": 294.2
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#6225BC
secondary
#A7CC71
accent
#EA3EA4
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6225BC

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

Preview Lab → · Contrast checker → · Palette generator →

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