#6331B3#6331B3

#6331B3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.192 H 295.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6331B3
RGBrgb(99, 49, 179)
HSLhsl(263, 57%, 45%)
HSVhsv(263, 73%, 70%)
CMYKcmyk(44.7%, 72.6%, 0%, 29.8%)
CIE-LABlab(34.20, 50.05, -60.69)
CIE-LCHlch(34.20, 78.67, 309.51°)
OKLaboklab(45.5% 0.0818 -0.1738)
OKLCHoklch(45.5% 0.192 295.2)
XYZxyz(14.3784, 8.1036, 43.4457)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B3 #81B331
analogous
#3140B3 #6331B3 #A431B3
triadic
#6331B3 #B36331 #31B363
tetradic
#6331B3 #B33140 #81B331 #31B3A4
square
#6331B3 #B33140 #81B331 #31B3A4
split-complementary
#6331B3 #B3A431 #40B331
monochromatic
#2E1753 #482483 #6331B3 #8252D0 #A582DD

Accessibility & contrast

On white

8.01
#6331B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6331B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B3#FFFFFF#000000##FFFFFF
##6331B31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#4D526F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6331b3;
/* rgb */ color: rgb(99, 49, 179);
/* oklch */ color: oklch(45.5% 0.192 295.2);
Tailwind
colors: {
  custom: {
    50: '#976ecb',
    500: '#6331b3',
    950: '#000000',
  },
}
SCSS
$custom: #6331b3;
$custom-light: #976ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b3",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 263.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.19205,
    "h": 295.2
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#6331B3
secondary
#A9C67A
accent
#E048A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6331B3

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

Preview Lab → · Contrast checker → · Palette generator →

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