#6334BE#6334BE

#6334BE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.201 H 292.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6334BE
RGBrgb(99, 52, 190)
HSLhsl(260, 57%, 47%)
HSVhsv(260, 73%, 75%)
CMYKcmyk(47.9%, 72.6%, 0%, 25.5%)
CIE-LABlab(35.65, 51.52, -64.82)
CIE-LCHlch(35.65, 82.81, 308.48°)
OKLaboklab(46.82% 0.0767 -0.1859)
OKLCHoklch(46.82% 0.201 292.4)
XYZxyz(15.6652, 8.8258, 49.5834)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334BE #8FBE34
analogous
#344ABE #6334BE #A834BE
triadic
#6334BE #BE6334 #34BE63
tetradic
#6334BE #BE344A #8FBE34 #34BEA8
square
#6334BE #BE344A #8FBE34 #34BEA8
split-complementary
#6334BE #BEA834 #4ABE34
monochromatic
#311A5E #4A278E #6334BE #855DD3 #A98DE0

Accessibility & contrast

On white

7.59
#6334BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6334BE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334BE#FFFFFF#000000##FFFFFF
##6334BE1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#465876
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6334be;
/* rgb */ color: rgb(99, 52, 190);
/* oklch */ color: oklch(46.8% 0.201 292.4);
Tailwind
colors: {
  custom: {
    50: '#9870d3',
    500: '#6334be',
    950: '#000000',
  },
}
SCSS
$custom: #6334be;
$custom-light: #9870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6334be",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 260.435,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.20111,
    "h": 292.4
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#6334BE
secondary
#B2CA84
accent
#E048AC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6334BE

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

Preview Lab → · Contrast checker → · Palette generator →

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