#6334BF#6334BF

#6334BF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.202 H 292.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6334BF
RGBrgb(99, 52, 191)
HSLhsl(260, 57%, 48%)
HSVhsv(260, 73%, 75%)
CMYKcmyk(48.2%, 72.8%, 0%, 25.1%)
CIE-LABlab(35.73, 51.79, -65.27)
CIE-LCHlch(35.73, 83.32, 308.43°)
OKLaboklab(46.9% 0.0764 -0.1872)
OKLCHoklch(46.9% 0.202 292.2)
XYZxyz(15.7749, 8.8697, 50.1610)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334BF #90BF34
analogous
#344ABF #6334BF #A934BF
triadic
#6334BF #BF6334 #34BF63
tetradic
#6334BF #BF344A #90BF34 #34BFA9
square
#6334BF #BF344A #90BF34 #34BFA9
split-complementary
#6334BF #BFA934 #4ABF34
monochromatic
#311A5F #4A278F #6334BF #855DD3 #A98DE0

Accessibility & contrast

On white

7.57
#6334BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6334BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334BF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334BF#FFFFFF#000000##FFFFFF
##6334BF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#465976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6334bf;
/* rgb */ color: rgb(99, 52, 191);
/* oklch */ color: oklch(46.9% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#9870d3',
    500: '#6334bf',
    950: '#000000',
  },
}
SCSS
$custom: #6334bf;
$custom-light: #9870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6334bf",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 260.288,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.20223,
    "h": 292.2
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#6334BF
secondary
#B3CA84
accent
#E047AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6334BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6334BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva