#6730B0#6730B0

#6730B0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.190 H 298.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6730B0
RGBrgb(103, 48, 176)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 73%, 69%)
CMYKcmyk(41.5%, 72.7%, 0%, 31%)
CIE-LABlab(34.26, 50.45, -58.79)
CIE-LCHlch(34.26, 77.47, 310.63°)
OKLaboklab(45.58% 0.0892 -0.168)
OKLCHoklch(45.58% 0.19 298)
XYZxyz(14.4849, 8.1318, 41.8723)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B0 #79B030
analogous
#3039B0 #6730B0 #A730B0
triadic
#6730B0 #B06730 #30B067
tetradic
#6730B0 #B03039 #79B030 #30B0A7
square
#6730B0 #B03039 #79B030 #30B0A7
split-complementary
#6730B0 #B0A730 #39B030
monochromatic
#2F1650 #4B2380 #6730B0 #864ECF #A77EDC

Accessibility & contrast

On white

8.00
#6730B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6730B0#FFFFFF#000000##FFFFFF
##6730B01.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#55506D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6730b0;
/* rgb */ color: rgb(103, 48, 176);
/* oklch */ color: oklch(45.6% 0.190 298.0);
Tailwind
colors: {
  custom: {
    50: '#996dc9',
    500: '#6730b0',
    950: '#000000',
  },
}
SCSS
$custom: #6730b0;
$custom-light: #996dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b0",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 265.781,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.19025,
    "h": 298
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#6730B0
secondary
#A3C577
accent
#E0479F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6730B0

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

Preview Lab → · Contrast checker → · Palette generator →

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