#6331B7#6331B7

#6331B7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.197 H 294.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6331B7
RGBrgb(99, 49, 183)
HSLhsl(262, 58%, 45%)
HSVhsv(262, 73%, 72%)
CMYKcmyk(45.9%, 73.2%, 0%, 28.2%)
CIE-LABlab(34.53, 51.11, -62.51)
CIE-LCHlch(34.53, 80.75, 309.27°)
OKLaboklab(45.85% 0.0809 -0.1791)
OKLCHoklch(45.85% 0.197 294.3)
XYZxyz(14.7888, 8.2678, 45.6072)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B7 #85B731
analogous
#3142B7 #6331B7 #A631B7
triadic
#6331B7 #B76331 #31B763
tetradic
#6331B7 #B73142 #85B731 #31B7A6
square
#6331B7 #B73142 #85B731 #31B7A6
split-complementary
#6331B7 #B7A631 #42B731
monochromatic
#2F1756 #492487 #6331B7 #8354D1 #A684DE

Accessibility & contrast

On white

7.91
#6331B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6331B7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B7#FFFFFF#000000##FFFFFF
##6331B71.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6331b7;
/* rgb */ color: rgb(99, 49, 183);
/* oklch */ color: oklch(45.8% 0.197 294.3);
Tailwind
colors: {
  custom: {
    50: '#976ece',
    500: '#6331b7',
    950: '#000000',
  },
}
SCSS
$custom: #6331b7;
$custom-light: #976ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b7",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 262.388,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.19654,
    "h": 294.3
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6331B7

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

Preview Lab → · Contrast checker → · Palette generator →

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