#6730AC#6730AC

#6730AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.186 H 299.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6730AC
RGBrgb(103, 48, 172)
HSLhsl(267, 56%, 43%)
HSVhsv(267, 72%, 67%)
CMYKcmyk(40.1%, 72.1%, 0%, 32.5%)
CIE-LABlab(33.93, 49.43, -56.93)
CIE-LCHlch(33.93, 75.40, 310.96°)
OKLaboklab(45.25% 0.09 -0.1626)
OKLCHoklch(45.25% 0.186 299)
XYZxyz(14.0950, 7.9758, 39.8186)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730AC #75AC30
analogous
#3037AC #6730AC #A530AC
triadic
#6730AC #AC6730 #30AC67
tetradic
#6730AC #AC3037 #75AC30 #30ACA5
square
#6730AC #AC3037 #75AC30 #30ACA5
split-complementary
#6730AC #ACA530 #37AC30
monochromatic
#2E154C #4A237C #6730AC #854CCD #A67CDA

Accessibility & contrast

On white

8.09
#6730AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6730AC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730AC#FFFFFF#000000##FFFFFF
##6730AC1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6730ac;
/* rgb */ color: rgb(103, 48, 172);
/* oklch */ color: oklch(45.2% 0.186 299.0);
Tailwind
colors: {
  custom: {
    50: '#986dc6',
    500: '#6730ac',
    950: '#000000',
  },
}
SCSS
$custom: #6730ac;
$custom-light: #986dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6730ac",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 266.613,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.18583,
    "h": 299
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#6730AC
secondary
#A0C375
accent
#E0489C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6730AC

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

Preview Lab → · Contrast checker → · Palette generator →

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