#6334B4#6334B4

#6334B4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.190 H 294.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6334B4
RGBrgb(99, 52, 180)
HSLhsl(262, 55%, 45%)
HSVhsv(262, 71%, 71%)
CMYKcmyk(45%, 71.1%, 0%, 29.4%)
CIE-LABlab(34.81, 48.83, -60.29)
CIE-LCHlch(34.81, 77.58, 309.01°)
OKLaboklab(45.96% 0.0788 -0.1726)
OKLCHoklch(45.96% 0.19 294.5)
XYZxyz(14.6096, 8.4035, 44.0235)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334B4 #85B434
analogous
#3445B4 #6334B4 #A334B4
triadic
#6334B4 #B46334 #34B463
tetradic
#6334B4 #B43445 #85B434 #34B4A3
square
#6334B4 #B43445 #85B434 #34B4A3
split-complementary
#6334B4 #B4A334 #45B434
monochromatic
#2F1955 #492685 #6334B4 #8357CE #A686DC

Accessibility & contrast

On white

7.83
#6334B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6334B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334B4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334B4#FFFFFF#000000##FFFFFF
##6334B41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#4C5470
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6334b4;
/* rgb */ color: rgb(99, 52, 180);
/* oklch */ color: oklch(46.0% 0.190 294.5);
Tailwind
colors: {
  custom: {
    50: '#976fcb',
    500: '#6334b4',
    950: '#000000',
  },
}
SCSS
$custom: #6334b4;
$custom-light: #976fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6334b4",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 262.031,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.18971,
    "h": 294.5
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#6334B4
secondary
#ABC67E
accent
#DF49A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334B4

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

Preview Lab → · Contrast checker → · Palette generator →

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