#6730B1#6730B1

#6730B1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.191 H 297.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6730B1
RGBrgb(103, 48, 177)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 73%, 69%)
CMYKcmyk(41.8%, 72.9%, 0%, 30.6%)
CIE-LABlab(34.34, 50.71, -59.25)
CIE-LCHlch(34.34, 77.99, 310.56°)
OKLaboklab(45.66% 0.089 -0.1694)
OKLCHoklch(45.66% 0.191 297.7)
XYZxyz(14.5842, 8.1715, 42.3953)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B1 #7AB130
analogous
#303AB1 #6730B1 #A830B1
triadic
#6730B1 #B16730 #30B167
tetradic
#6730B1 #B1303A #7AB130 #30B1A8
square
#6730B1 #B1303A #7AB130 #30B1A8
split-complementary
#6730B1 #B1A830 #3AB130
monochromatic
#2F1651 #4B2381 #6730B1 #864FCF #A77FDC

Accessibility & contrast

On white

7.97
#6730B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6730B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6730B1#FFFFFF#000000##FFFFFF
##6730B11.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#54516E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6730b1;
/* rgb */ color: rgb(103, 48, 177);
/* oklch */ color: oklch(45.7% 0.191 297.7);
Tailwind
colors: {
  custom: {
    50: '#996dc9',
    500: '#6730b1',
    950: '#000000',
  },
}
SCSS
$custom: #6730b1;
$custom-light: #996dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b1",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 265.581,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.19135,
    "h": 297.7
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#6730B1
secondary
#A4C578
accent
#E1479F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6730B1

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

Preview Lab → · Contrast checker → · Palette generator →

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