#6331AF#6331AF

#6331AF is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.188 H 296.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6331AF
RGBrgb(99, 49, 175)
HSLhsl(264, 56%, 44%)
HSVhsv(264, 72%, 69%)
CMYKcmyk(43.4%, 72%, 0%, 31.4%)
CIE-LABlab(33.87, 48.99, -58.85)
CIE-LCHlch(33.87, 76.57, 309.77°)
OKLaboklab(45.17% 0.0826 -0.1684)
OKLCHoklch(45.17% 0.188 296.1)
XYZxyz(13.9797, 7.9441, 41.3459)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331AF #7DAF31
analogous
#313EAF #6331AF #A231AF
triadic
#6331AF #AF6331 #31AF63
tetradic
#6331AF #AF313E #7DAF31 #31AFA2
square
#6331AF #AF313E #7DAF31 #31AFA2
split-complementary
#6331AF #AFA231 #3EAF31
monochromatic
#2D164F #48247F #6331AF #824FCE #A47FDB

Accessibility & contrast

On white

8.11
#6331AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6331AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331AF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331AF#FFFFFF#000000##FFFFFF
##6331AF1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#4F516D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6331af;
/* rgb */ color: rgb(99, 49, 175);
/* oklch */ color: oklch(45.2% 0.188 296.1);
Tailwind
colors: {
  custom: {
    50: '#966dc8',
    500: '#6331af',
    950: '#000000',
  },
}
SCSS
$custom: #6331af;
$custom-light: #966dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6331af",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 263.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.18754,
    "h": 296.1
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#6331AF
secondary
#A6C478
accent
#E048A4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6331AF

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

Preview Lab → · Contrast checker → · Palette generator →

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