#6331B6#6331B6

#6331B6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.195 H 294.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6331B6
RGBrgb(99, 49, 182)
HSLhsl(263, 58%, 45%)
HSVhsv(263, 73%, 71%)
CMYKcmyk(45.6%, 73.1%, 0%, 28.6%)
CIE-LABlab(34.45, 50.84, -62.06)
CIE-LCHlch(34.45, 80.23, 309.33°)
OKLaboklab(45.76% 0.0811 -0.1778)
OKLCHoklch(45.76% 0.195 294.5)
XYZxyz(14.6851, 8.2263, 45.0610)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B6 #84B631
analogous
#3142B6 #6331B6 #A531B6
triadic
#6331B6 #B66331 #31B663
tetradic
#6331B6 #B63142 #84B631 #31B6A5
square
#6331B6 #B63142 #84B631 #31B6A5
split-complementary
#6331B6 #B6A531 #42B631
monochromatic
#2F1756 #492486 #6331B6 #8353D1 #A684DE

Accessibility & contrast

On white

7.94
#6331B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6331B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B6#FFFFFF#000000##FFFFFF
##6331B61.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#4B5471
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6331b6;
/* rgb */ color: rgb(99, 49, 182);
/* oklch */ color: oklch(45.8% 0.195 294.5);
Tailwind
colors: {
  custom: {
    50: '#976ecd',
    500: '#6331b6',
    950: '#000000',
  },
}
SCSS
$custom: #6331b6;
$custom-light: #976ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b6",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 262.556,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.19543,
    "h": 294.5
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#6331B6
secondary
#ABC77C
accent
#E147A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6331B6

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

Preview Lab → · Contrast checker → · Palette generator →

#6331B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva