#6730AD#6730AD

#6730AD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.187 H 298.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6730AD
RGBrgb(103, 48, 173)
HSLhsl(266, 57%, 43%)
HSVhsv(266, 72%, 68%)
CMYKcmyk(40.5%, 72.3%, 0%, 32.2%)
CIE-LABlab(34.01, 49.68, -57.40)
CIE-LCHlch(34.01, 75.92, 310.88°)
OKLaboklab(45.33% 0.0898 -0.164)
OKLCHoklch(45.33% 0.187 298.7)
XYZxyz(14.1914, 8.0144, 40.3263)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730AD #76AD30
analogous
#3037AD #6730AD #A530AD
triadic
#6730AD #AD6730 #30AD67
tetradic
#6730AD #AD3037 #76AD30 #30ADA5
square
#6730AD #AD3037 #76AD30 #30ADA5
split-complementary
#6730AD #ADA530 #37AD30
monochromatic
#2E154D #4A237D #6730AD #854DCE #A67DDB

Accessibility & contrast

On white

8.07
#6730AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6730AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730AD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730AD#FFFFFF#000000##FFFFFF
##6730AD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#564F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6730ad;
/* rgb */ color: rgb(103, 48, 173);
/* oklch */ color: oklch(45.3% 0.187 298.7);
Tailwind
colors: {
  custom: {
    50: '#986dc6',
    500: '#6730ad',
    950: '#000000',
  },
}
SCSS
$custom: #6730ad;
$custom-light: #986dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6730ad",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 266.4,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.18694,
    "h": 298.7
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#6730AD
secondary
#A1C375
accent
#E0489D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6730AD

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

Preview Lab → · Contrast checker → · Palette generator →

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