#6225BD#6225BD

#6225BD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.215 H 294.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6225BD
RGBrgb(98, 37, 189)
HSLhsl(264, 67%, 44%)
HSVhsv(264, 80%, 74%)
CMYKcmyk(48.1%, 80.4%, 0%, 25.9%)
CIE-LABlab(33.12, 57.76, -68.38)
CIE-LCHlch(33.12, 89.51, 310.19°)
OKLaboklab(45% 0.0872 -0.1963)
OKLCHoklch(45% 0.215 294)
XYZxyz(14.8813, 7.5935, 48.8159)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225BD #80BD25
analogous
#2534BD #6225BD #AE25BD
triadic
#6225BD #BD6225 #25BD62
tetradic
#6225BD #BD2534 #80BD25 #25BDAE
square
#6225BD #BD2534 #80BD25 #25BDAE
split-complementary
#6225BD #BDAE25 #34BD25
monochromatic
#2D1157 #471B8A #6225BD #8145DB #A378E5

Accessibility & contrast

On white

8.34
#6225BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6225BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225BD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225BD#FFFFFF#000000##FFFFFF
##6225BD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#465172
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6225bd;
/* rgb */ color: rgb(98, 37, 189);
/* oklch */ color: oklch(45.0% 0.215 294.0);
Tailwind
colors: {
  custom: {
    50: '#9868d2',
    500: '#6225bd',
    950: '#000000',
  },
}
SCSS
$custom: #6225bd;
$custom-light: #9868d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6225bd",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 264.079,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.21477,
    "h": 294
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#6225BD
secondary
#A8CC72
accent
#EA3EA5
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6225BD

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

Preview Lab → · Contrast checker → · Palette generator →

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