#6734AB#6734AB

#6734AB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.180 H 298.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6734AB
RGBrgb(103, 52, 171)
HSLhsl(266, 53%, 44%)
HSVhsv(266, 70%, 67%)
CMYKcmyk(39.8%, 69.6%, 0%, 32.9%)
CIE-LABlab(34.56, 47.20, -55.32)
CIE-LCHlch(34.56, 72.72, 310.47°)
OKLaboklab(45.67% 0.0861 -0.1578)
OKLCHoklch(45.67% 0.18 298.6)
XYZxyz(14.1703, 8.2796, 39.3717)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734AB #78AB34
analogous
#343DAB #6734AB #A234AB
triadic
#6734AB #AB6734 #34AB67
tetradic
#6734AB #AB343D #78AB34 #34ABA2
square
#6734AB #AB343D #78AB34 #34ABA2
split-complementary
#6734AB #ABA234 #3DAB34
monochromatic
#2E174D #4B267C #6734AB #8552CA #A681D9

Accessibility & contrast

On white

7.91
#6734AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6734AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734AB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734AB#FFFFFF#000000##FFFFFF
##6734AB1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#57516B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6734ab;
/* rgb */ color: rgb(103, 52, 171);
/* oklch */ color: oklch(45.7% 0.180 298.6);
Tailwind
colors: {
  custom: {
    50: '#986fc5',
    500: '#6734ab',
    950: '#000000',
  },
}
SCSS
$custom: #6734ab;
$custom-light: #986fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6734ab",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 265.714,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.17981,
    "h": 298.6
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#6734AB
secondary
#A3C279
accent
#DD4B9E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6734AB

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

Preview Lab → · Contrast checker → · Palette generator →

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