#6B35CA#6B35CA

#6B35CA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.214 H 293.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6B35CA
RGBrgb(107, 53, 202)
HSLhsl(262, 58%, 50%)
HSVhsv(262, 74%, 79%)
CMYKcmyk(47%, 73.8%, 0%, 20.8%)
CIE-LABlab(37.73, 55.52, -68.40)
CIE-LCHlch(37.73, 88.10, 309.07°)
OKLaboklab(48.8% 0.0847 -0.1961)
OKLCHoklch(48.8% 0.214 293.4)
XYZxyz(17.9942, 9.9357, 56.8354)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35CA #94CA35
analogous
#354ACA #6B35CA #B535CA
triadic
#6B35CA #CA6B35 #35CA6B
tetradic
#6B35CA #CA354A #94CA35 #35CAB5
square
#6B35CA #CA354A #94CA35 #35CAB5
split-complementary
#6B35CA #CAB535 #4ACA35
monochromatic
#381C69 #51289A #6B35CA #8F65D7 #B296E3

Accessibility & contrast

On white

7.03
#6B35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6B35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35CA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35CA#FFFFFF#000000##FFFFFF
##6B35CA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#4E5D7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b35ca;
/* rgb */ color: rgb(107, 53, 202);
/* oklch */ color: oklch(48.8% 0.214 293.4);
Tailwind
colors: {
  custom: {
    50: '#9e72db',
    500: '#6b35ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b35ca;
$custom-light: #9e72db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35ca",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 261.745,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.21365,
    "h": 293.4
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#6B35CA
secondary
#B7CF8C
accent
#E246A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B35CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6B35CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva