#6331B1#6331B1

#6331B1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.190 H 295.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6331B1
RGBrgb(99, 49, 177)
HSLhsl(263, 57%, 44%)
HSVhsv(263, 72%, 69%)
CMYKcmyk(44.1%, 72.3%, 0%, 30.6%)
CIE-LABlab(34.03, 49.52, -59.77)
CIE-LCHlch(34.03, 77.62, 309.64°)
OKLaboklab(45.34% 0.0822 -0.1711)
OKLCHoklch(45.34% 0.19 295.7)
XYZxyz(14.1776, 8.0233, 42.3881)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B1 #7FB131
analogous
#313FB1 #6331B1 #A331B1
triadic
#6331B1 #B16331 #31B163
tetradic
#6331B1 #B1313F #7FB131 #31B1A3
square
#6331B1 #B1313F #7FB131 #31B1A3
split-complementary
#6331B1 #B1A331 #3FB131
monochromatic
#2D1651 #482481 #6331B1 #8251CF #A480DC

Accessibility & contrast

On white

8.06
#6331B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6331B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B1#FFFFFF#000000##FFFFFF
##6331B11.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#4E526E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6331b1;
/* rgb */ color: rgb(99, 49, 177);
/* oklch */ color: oklch(45.3% 0.190 295.7);
Tailwind
colors: {
  custom: {
    50: '#966ec9',
    500: '#6331b1',
    950: '#000000',
  },
}
SCSS
$custom: #6331b1;
$custom-light: #966ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b1",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 263.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.1898,
    "h": 295.7
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#6331B1
secondary
#A7C579
accent
#E048A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6331B1

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

Preview Lab → · Contrast checker → · Palette generator →

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