#6735AB#6735AB

#6735AB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.179 H 298.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6735AB
RGBrgb(103, 53, 171)
HSLhsl(265, 53%, 44%)
HSVhsv(265, 69%, 67%)
CMYKcmyk(39.8%, 69%, 0%, 32.9%)
CIE-LABlab(34.74, 46.69, -55.02)
CIE-LCHlch(34.74, 72.16, 310.32°)
OKLaboklab(45.8% 0.0851 -0.157)
OKLCHoklch(45.8% 0.179 298.5)
XYZxyz(14.2154, 8.3698, 39.3868)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6735AB #79AB35
analogous
#353EAB #6735AB #A235AB
triadic
#6735AB #AB6735 #35AB67
tetradic
#6735AB #AB353E #79AB35 #35ABA2
square
#6735AB #AB353E #79AB35 #35ABA2
split-complementary
#6735AB #ABA235 #3EAB35
monochromatic
#2F184E #4B277C #6735AB #8653CA #A782D8

Accessibility & contrast

On white

7.85
#6735AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6735AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6735AB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6735AB#FFFFFF#000000##FFFFFF
##6735AB1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#57516C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6735ab;
/* rgb */ color: rgb(103, 53, 171);
/* oklch */ color: oklch(45.8% 0.179 298.5);
Tailwind
colors: {
  custom: {
    50: '#9870c5',
    500: '#6735ab',
    950: '#000000',
  },
}
SCSS
$custom: #6735ab;
$custom-light: #9870c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6735ab",
  "rgb": {
    "r": 103,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 265.424,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.17854,
    "h": 298.5
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#6735AB
secondary
#A3C27A
accent
#DC4C9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6735AB

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

Preview Lab → · Contrast checker → · Palette generator →

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