#6335AB#6335AB

#6335AB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.178 H 296.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6335AB
RGBrgb(99, 53, 171)
HSLhsl(263, 53%, 44%)
HSVhsv(263, 69%, 67%)
CMYKcmyk(42.1%, 69%, 0%, 32.9%)
CIE-LABlab(34.27, 45.91, -55.81)
CIE-LCHlch(34.27, 72.26, 309.44°)
OKLaboklab(45.35% 0.0794 -0.1594)
OKLCHoklch(45.35% 0.178 296.5)
XYZxyz(13.7675, 8.1389, 39.3658)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335AB #7DAB35
analogous
#3542AB #6335AB #9E35AB
triadic
#6335AB #AB6335 #35AB63
tetradic
#6335AB #AB3542 #7DAB35 #35AB9E
square
#6335AB #AB3542 #7DAB35 #35AB9E
split-complementary
#6335AB #AB9E35 #42AB35
monochromatic
#2D184E #48277C #6335AB #8253CA #A482D8

Accessibility & contrast

On white

7.99
#6335AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6335AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335AB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335AB#FFFFFF#000000##FFFFFF
##6335AB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#50526C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6335ab;
/* rgb */ color: rgb(99, 53, 171);
/* oklch */ color: oklch(45.4% 0.178 296.5);
Tailwind
colors: {
  custom: {
    50: '#9570c5',
    500: '#6335ab',
    950: '#000000',
  },
}
SCSS
$custom: #6335ab;
$custom-light: #9570c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6335ab",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 263.39,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.17809,
    "h": 296.5
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#6335AB
secondary
#A6C27A
accent
#DC4CA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335AB

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

Preview Lab → · Contrast checker → · Palette generator →

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