#6331B5#6331B5

#6331B5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.194 H 294.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6331B5
RGBrgb(99, 49, 181)
HSLhsl(263, 57%, 45%)
HSVhsv(263, 73%, 71%)
CMYKcmyk(45.3%, 72.9%, 0%, 29%)
CIE-LABlab(34.37, 50.58, -61.61)
CIE-LCHlch(34.37, 79.71, 309.38°)
OKLaboklab(45.68% 0.0814 -0.1764)
OKLCHoklch(45.68% 0.194 294.8)
XYZxyz(14.5821, 8.1851, 44.5187)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B5 #83B531
analogous
#3141B5 #6331B5 #A531B5
triadic
#6331B5 #B56331 #31B563
tetradic
#6331B5 #B53141 #83B531 #31B5A5
square
#6331B5 #B53141 #83B531 #31B5A5
split-complementary
#6331B5 #B5A531 #41B531
monochromatic
#2E1755 #492485 #6331B5 #8253D0 #A583DD

Accessibility & contrast

On white

7.96
#6331B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6331B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B5#FFFFFF#000000##FFFFFF
##6331B51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#4C5370
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6331b5;
/* rgb */ color: rgb(99, 49, 181);
/* oklch */ color: oklch(45.7% 0.194 294.8);
Tailwind
colors: {
  custom: {
    50: '#976ecc',
    500: '#6331b5',
    950: '#000000',
  },
}
SCSS
$custom: #6331b5;
$custom-light: #976ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b5",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 262.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.1943,
    "h": 294.8
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#6331B5
secondary
#AAC77B
accent
#E147A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6331B5

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

Preview Lab → · Contrast checker → · Palette generator →

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