#6730A4#6730A4

#6730A4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.177 H 301.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6730A4
RGBrgb(103, 48, 164)
HSLhsl(268, 55%, 42%)
HSVhsv(268, 71%, 64%)
CMYKcmyk(37.2%, 70.7%, 0%, 35.7%)
CIE-LABlab(33.30, 47.39, -53.16)
CIE-LCHlch(33.30, 71.22, 311.72°)
OKLaboklab(44.6% 0.0915 -0.1515)
OKLCHoklch(44.6% 0.177 301.1)
XYZxyz(13.3497, 7.6777, 35.8934)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730A4 #6DA430
analogous
#3033A4 #6730A4 #A130A4
triadic
#6730A4 #A46730 #30A467
tetradic
#6730A4 #A43033 #6DA430 #30A4A1
square
#6730A4 #A43033 #6DA430 #30A4A1
split-complementary
#6730A4 #A4A130 #33A430
monochromatic
#2C1445 #492275 #6730A4 #8548C9 #A577D7

Accessibility & contrast

On white

8.28
#6730A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6730A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730A4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730A4#FFFFFF#000000##FFFFFF
##6730A41.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#5A4C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6730a4;
/* rgb */ color: rgb(103, 48, 164);
/* oklch */ color: oklch(44.6% 0.177 301.1);
Tailwind
colors: {
  custom: {
    50: '#986dc0',
    500: '#6730a4',
    950: '#000000',
  },
}
SCSS
$custom: #6730a4;
$custom-light: #986dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6730a4",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 268.448,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.17694,
    "h": 301.1
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#6730A4
secondary
#9ABF70
accent
#DE4A98
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6730A4

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

Preview Lab → · Contrast checker → · Palette generator →

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