#6730AB#6730AB

#6730AB is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.185 H 299.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6730AB
RGBrgb(103, 48, 171)
HSLhsl(267, 56%, 43%)
HSVhsv(267, 72%, 67%)
CMYKcmyk(39.8%, 71.9%, 0%, 32.9%)
CIE-LABlab(33.85, 49.17, -56.46)
CIE-LCHlch(33.85, 74.87, 311.05°)
OKLaboklab(45.16% 0.0902 -0.1612)
OKLCHoklch(45.16% 0.185 299.2)
XYZxyz(13.9993, 7.9376, 39.3147)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730AB #74AB30
analogous
#3037AB #6730AB #A430AB
triadic
#6730AB #AB6730 #30AB67
tetradic
#6730AB #AB3037 #74AB30 #30ABA4
square
#6730AB #AB3037 #74AB30 #30ABA4
split-complementary
#6730AB #ABA430 #37AB30
monochromatic
#2D154B #4A237B #6730AB #854CCD #A67BDA

Accessibility & contrast

On white

8.12
#6730AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6730AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6730AB#FFFFFF#000000##FFFFFF
##6730AB1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#574E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6730ab;
/* rgb */ color: rgb(103, 48, 171);
/* oklch */ color: oklch(45.2% 0.185 299.2);
Tailwind
colors: {
  custom: {
    50: '#986dc5',
    500: '#6730ab',
    950: '#000000',
  },
}
SCSS
$custom: #6730ab;
$custom-light: #986dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6730ab",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 266.829,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.18472,
    "h": 299.2
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#6730AB
secondary
#A0C374
accent
#DF489C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6730AB

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

Preview Lab → · Contrast checker → · Palette generator →

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