#6730AA#6730AA

#6730AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.184 H 299.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6730AA
RGBrgb(103, 48, 170)
HSLhsl(267, 56%, 43%)
HSVhsv(267, 72%, 67%)
CMYKcmyk(39.4%, 71.8%, 0%, 33.3%)
CIE-LABlab(33.77, 48.92, -56.00)
CIE-LCHlch(33.77, 74.35, 311.14°)
OKLaboklab(45.08% 0.0904 -0.1598)
OKLCHoklch(45.08% 0.184 299.5)
XYZxyz(13.9044, 7.8996, 38.8146)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730AA #73AA30
analogous
#3036AA #6730AA #A430AA
triadic
#6730AA #AA6730 #30AA67
tetradic
#6730AA #AA3036 #73AA30 #30AAA4
square
#6730AA #AA3036 #73AA30 #30AAA4
split-complementary
#6730AA #AAA430 #36AA30
monochromatic
#2D154B #4A237A #6730AA #854BCC #A67BDA

Accessibility & contrast

On white

8.14
#6730AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6730AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6730AA#FFFFFF#000000##FFFFFF
##6730AA1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#574E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6730aa;
/* rgb */ color: rgb(103, 48, 170);
/* oklch */ color: oklch(45.1% 0.184 299.5);
Tailwind
colors: {
  custom: {
    50: '#986dc4',
    500: '#6730aa',
    950: '#000000',
  },
}
SCSS
$custom: #6730aa;
$custom-light: #986dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6730aa",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 267.049,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.18361,
    "h": 299.5
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#6730AA
secondary
#9FC274
accent
#DF499B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6730AA

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

Preview Lab → · Contrast checker → · Palette generator →

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