#6334B2#6334B2

#6334B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.187 H 295.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6334B2
RGBrgb(99, 52, 178)
HSLhsl(262, 55%, 45%)
HSVhsv(262, 71%, 70%)
CMYKcmyk(44.4%, 70.8%, 0%, 30.2%)
CIE-LABlab(34.65, 48.29, -59.37)
CIE-LCHlch(34.65, 76.53, 309.13°)
OKLaboklab(45.8% 0.0791 -0.1699)
OKLCHoklch(45.8% 0.187 295)
XYZxyz(14.4073, 8.3226, 42.9582)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334B2 #83B234
analogous
#3444B2 #6334B2 #A234B2
triadic
#6334B2 #B26334 #34B263
tetradic
#6334B2 #B23444 #83B234 #34B2A2
square
#6334B2 #B23444 #83B234 #34B2A2
split-complementary
#6334B2 #B2A234 #44B234
monochromatic
#2E1853 #492683 #6334B2 #8256CE #A585DB

Accessibility & contrast

On white

7.88
#6334B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6334B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334B2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334B2#FFFFFF#000000##FFFFFF
##6334B21.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#4D546F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6334b2;
/* rgb */ color: rgb(99, 52, 178);
/* oklch */ color: oklch(45.8% 0.187 295.0);
Tailwind
colors: {
  custom: {
    50: '#966fca',
    500: '#6334b2',
    950: '#000000',
  },
}
SCSS
$custom: #6334b2;
$custom-light: #966fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6334b2",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 262.381,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.18742,
    "h": 295
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#6334B2
secondary
#AAC57D
accent
#DE4AA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334B2

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

Preview Lab → · Contrast checker → · Palette generator →

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