#6734AA#6734AA

#6734AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.179 H 298.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6734AA
RGBrgb(103, 52, 170)
HSLhsl(266, 53%, 44%)
HSVhsv(266, 69%, 67%)
CMYKcmyk(39.4%, 69.4%, 0%, 33.3%)
CIE-LABlab(34.48, 46.94, -54.84)
CIE-LCHlch(34.48, 72.19, 310.56°)
OKLaboklab(45.59% 0.0863 -0.1565)
OKLCHoklch(45.59% 0.179 298.9)
XYZxyz(14.0754, 8.2416, 38.8716)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734AA #77AA34
analogous
#343CAA #6734AA #A234AA
triadic
#6734AA #AA6734 #34AA67
tetradic
#6734AA #AA343C #77AA34 #34AAA2
square
#6734AA #AA343C #77AA34 #34AAA2
split-complementary
#6734AA #AAA234 #3CAA34
monochromatic
#2E174C #4B267B #6734AA #8551CA #A680D8

Accessibility & contrast

On white

7.93
#6734AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6734AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6734AA#FFFFFF#000000##FFFFFF
##6734AA1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#57506B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6734aa;
/* rgb */ color: rgb(103, 52, 170);
/* oklch */ color: oklch(45.6% 0.179 298.9);
Tailwind
colors: {
  custom: {
    50: '#986fc4',
    500: '#6734aa',
    950: '#000000',
  },
}
SCSS
$custom: #6734aa;
$custom-light: #986fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6734aa",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 265.932,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.17868,
    "h": 298.9
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6734AA

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

Preview Lab → · Contrast checker → · Palette generator →

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