#6325AC#6325AC

#6325AC is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.197 H 298.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6325AC
RGBrgb(99, 37, 172)
HSLhsl(268, 65%, 41%)
HSVhsv(268, 78%, 67%)
CMYKcmyk(42.4%, 78.5%, 0%, 32.5%)
CIE-LABlab(31.70, 53.65, -60.59)
CIE-LCHlch(31.70, 80.93, 311.52°)
OKLaboklab(43.57% 0.094 -0.1734)
OKLCHoklch(43.57% 0.197 298.5)
XYZxyz(13.2516, 6.9541, 39.6658)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6325AC #6EAC25
analogous
#252AAC #6325AC #A625AC
triadic
#6325AC #AC6325 #25AC63
tetradic
#6325AC #AC252A #6EAC25 #25ACA6
square
#6325AC #AC252A #6EAC25 #25ACA6
split-complementary
#6325AC #ACA625 #2AAC25
monochromatic
#290F47 #461A7A #6325AC #813AD5 #A16CDF

Accessibility & contrast

On white

8.78
#6325AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6325AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6325AC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6325AC#FFFFFF#000000##FFFFFF
##6325AC1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#514A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6325ac;
/* rgb */ color: rgb(99, 37, 172);
/* oklch */ color: oklch(43.6% 0.197 298.5);
Tailwind
colors: {
  custom: {
    50: '#9767c6',
    500: '#6325ac',
    950: '#000000',
  },
}
SCSS
$custom: #6325ac;
$custom-light: #9767c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6325ac",
  "rgb": {
    "r": 99,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 267.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.19723,
    "h": 298.5
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#6325AC
secondary
#9AC667
accent
#E8409B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6325AC

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

Preview Lab → · Contrast checker → · Palette generator →

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