#6325B1#6325B1

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

Color values

HEX#6325B1
RGBrgb(99, 37, 177)
HSLhsl(267, 65%, 42%)
HSVhsv(267, 79%, 69%)
CMYKcmyk(44.1%, 79.1%, 0%, 30.6%)
CIE-LABlab(32.15, 54.90, -62.86)
CIE-LCHlch(32.15, 83.45, 311.13°)
OKLaboklab(44.01% 0.0925 -0.18)
OKLCHoklch(44.01% 0.202 297.2)
XYZxyz(13.7409, 7.1498, 42.2425)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6325B1 #73B125
analogous
#252DB1 #6325B1 #A925B1
triadic
#6325B1 #B16325 #25B163
tetradic
#6325B1 #B1252D #73B125 #25B1A9
square
#6325B1 #B1252D #73B125 #25B1A9
split-complementary
#6325B1 #B1A925 #2DB125
monochromatic
#2A104C #471A7E #6325B1 #813DD6 #A26FE1

Accessibility & contrast

On white

8.64
#6325B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6325B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6325B1
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6325B1#FFFFFF#000000##FFFFFF
##6325B11.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#4E4C6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6325b1;
/* rgb */ color: rgb(99, 37, 177);
/* oklch */ color: oklch(44.0% 0.202 297.2);
Tailwind
colors: {
  custom: {
    50: '#9767c9',
    500: '#6325b1',
    950: '#000000',
  },
}
SCSS
$custom: #6325b1;
$custom-light: #9767c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6325b1",
  "rgb": {
    "r": 99,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 266.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.20242,
    "h": 297.2
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#6325B1
secondary
#9EC86A
accent
#E83F9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6325B1

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

Preview Lab → · Contrast checker → · Palette generator →

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