#6331B8#6331B8

#6331B8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.198 H 294.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6331B8
RGBrgb(99, 49, 184)
HSLhsl(262, 58%, 46%)
HSVhsv(262, 73%, 72%)
CMYKcmyk(46.2%, 73.4%, 0%, 27.8%)
CIE-LABlab(34.62, 51.37, -62.97)
CIE-LCHlch(34.62, 81.26, 309.21°)
OKLaboklab(45.93% 0.0807 -0.1804)
OKLCHoklch(45.93% 0.198 294.1)
XYZxyz(14.8933, 8.3095, 46.1573)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B8 #86B831
analogous
#3143B8 #6331B8 #A631B8
triadic
#6331B8 #B86331 #31B863
tetradic
#6331B8 #B83143 #86B831 #31B8A6
square
#6331B8 #B83143 #86B831 #31B8A6
split-complementary
#6331B8 #B8A631 #43B831
monochromatic
#2F1757 #492488 #6331B8 #8355D2 #A685DE

Accessibility & contrast

On white

7.89
#6331B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6331B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B8#FFFFFF#000000##FFFFFF
##6331B81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#4A5472
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6331b8;
/* rgb */ color: rgb(99, 49, 184);
/* oklch */ color: oklch(45.9% 0.198 294.1);
Tailwind
colors: {
  custom: {
    50: '#976ece',
    500: '#6331b8',
    950: '#000000',
  },
}
SCSS
$custom: #6331b8;
$custom-light: #976ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b8",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 262.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.19766,
    "h": 294.1
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#6331B8
secondary
#ACC87D
accent
#E147A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6331B8

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

Preview Lab → · Contrast checker → · Palette generator →

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