#6335AF#6335AF

#6335AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.183 H 295.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6335AF
RGBrgb(99, 53, 175)
HSLhsl(263, 54%, 45%)
HSVhsv(263, 70%, 69%)
CMYKcmyk(43.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(34.59, 46.98, -57.68)
CIE-LCHlch(34.59, 74.39, 309.16°)
OKLaboklab(45.68% 0.0787 -0.1649)
OKLCHoklch(45.68% 0.183 295.5)
XYZxyz(14.1545, 8.2937, 41.4042)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335AF #81AF35
analogous
#3544AF #6335AF #A035AF
triadic
#6335AF #AF6335 #35AF63
tetradic
#6335AF #AF3544 #81AF35 #35AFA0
square
#6335AF #AF3544 #81AF35 #35AFA0
split-complementary
#6335AF #AFA035 #44AF35
monochromatic
#2E1951 #482780 #6335AF #8256CC #A585DA

Accessibility & contrast

On white

7.90
#6335AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6335AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335AF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335AF#FFFFFF#000000##FFFFFF
##6335AF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#4F536E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6335af;
/* rgb */ color: rgb(99, 53, 175);
/* oklch */ color: oklch(45.7% 0.183 295.5);
Tailwind
colors: {
  custom: {
    50: '#9670c8',
    500: '#6335af',
    950: '#000000',
  },
}
SCSS
$custom: #6335af;
$custom-light: #9670c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6335af",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 262.623,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.18274,
    "h": 295.5
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#6335AF
secondary
#A9C47C
accent
#DD4BA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335AF

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

Preview Lab → · Contrast checker → · Palette generator →

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