#6335B2#6335B2

#6335B2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.186 H 294.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6335B2
RGBrgb(99, 53, 178)
HSLhsl(262, 54%, 45%)
HSVhsv(262, 70%, 70%)
CMYKcmyk(44.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(34.83, 47.79, -59.07)
CIE-LCHlch(34.83, 75.98, 308.97°)
OKLaboklab(45.93% 0.0782 -0.169)
OKLCHoklch(45.93% 0.186 294.8)
XYZxyz(14.4524, 8.4128, 42.9732)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B2 #84B235
analogous
#3545B2 #6335B2 #A135B2
triadic
#6335B2 #B26335 #35B263
tetradic
#6335B2 #B23545 #84B235 #35B2A1
square
#6335B2 #B23545 #84B235 #35B2A1
split-complementary
#6335B2 #B2A135 #45B235
monochromatic
#2F1954 #492783 #6335B2 #8357CD #A686DB

Accessibility & contrast

On white

7.83
#6335B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6335B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B2#FFFFFF#000000##FFFFFF
##6335B21.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)
#0053B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#4D5470
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6335b2;
/* rgb */ color: rgb(99, 53, 178);
/* oklch */ color: oklch(45.9% 0.186 294.8);
Tailwind
colors: {
  custom: {
    50: '#9670ca',
    500: '#6335b2',
    950: '#000000',
  },
}
SCSS
$custom: #6335b2;
$custom-light: #9670ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b2",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 262.08,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.18622,
    "h": 294.8
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#6335B2
secondary
#ABC57E
accent
#DD4AA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335B2

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

Preview Lab → · Contrast checker → · Palette generator →

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