#6730AE#6730AE

#6730AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.188 H 298.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6730AE
RGBrgb(103, 48, 174)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 72%, 68%)
CMYKcmyk(40.8%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.09, 49.94, -57.86)
CIE-LCHlch(34.09, 76.43, 310.80°)
OKLaboklab(45.41% 0.0896 -0.1653)
OKLCHoklch(45.41% 0.188 298.5)
XYZxyz(14.2885, 8.0533, 40.8378)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730AE #77AE30
analogous
#3038AE #6730AE #A630AE
triadic
#6730AE #AE6730 #30AE67
tetradic
#6730AE #AE3038 #77AE30 #30AEA6
square
#6730AE #AE3038 #77AE30 #30AEA6
split-complementary
#6730AE #AEA630 #38AE30
monochromatic
#2E164E #4B237E #6730AE #854DCE #A67DDB

Accessibility & contrast

On white

8.04
#6730AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6730AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730AE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730AE#FFFFFF#000000##FFFFFF
##6730AE1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#56506C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6730ae;
/* rgb */ color: rgb(103, 48, 174);
/* oklch */ color: oklch(45.4% 0.188 298.5);
Tailwind
colors: {
  custom: {
    50: '#996dc7',
    500: '#6730ae',
    950: '#000000',
  },
}
SCSS
$custom: #6730ae;
$custom-light: #996dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6730ae",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 266.19,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.18804,
    "h": 298.5
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#6730AE
secondary
#A2C476
accent
#E0489E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6730AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6730AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva