#6730B6#6730B6

#6730B6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.197 H 296.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6730B6
RGBrgb(103, 48, 182)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 74%, 71%)
CMYKcmyk(43.4%, 73.6%, 0%, 28.6%)
CIE-LABlab(34.75, 52.00, -61.55)
CIE-LCHlch(34.75, 80.57, 310.19°)
OKLaboklab(46.08% 0.0879 -0.1761)
OKLCHoklch(46.08% 0.197 296.5)
XYZxyz(15.0917, 8.3745, 45.0682)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B6 #7FB630
analogous
#303CB6 #6730B6 #AA30B6
triadic
#6730B6 #B66730 #30B667
tetradic
#6730B6 #B6303C #7FB630 #30B6AA
square
#6730B6 #B6303C #7FB630 #30B6AA
split-complementary
#6730B6 #B6AA30 #3CB630
monochromatic
#301655 #4C2386 #6730B6 #8652D1 #A882DE

Accessibility & contrast

On white

7.85
#6730B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6730B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6730B6#FFFFFF#000000##FFFFFF
##6730B61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#525370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6730b6;
/* rgb */ color: rgb(103, 48, 182);
/* oklch */ color: oklch(46.1% 0.197 296.5);
Tailwind
colors: {
  custom: {
    50: '#996ecd',
    500: '#6730b6',
    950: '#000000',
  },
}
SCSS
$custom: #6730b6;
$custom-light: #996ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b6",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 264.627,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.19685,
    "h": 296.5
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#6730B6
secondary
#A8C77B
accent
#E146A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6730B6

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

Preview Lab → · Contrast checker → · Palette generator →

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