#6730C2#6730C2

#6730C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.210 H 293.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6730C2
RGBrgb(103, 48, 194)
HSLhsl(263, 60%, 47%)
HSVhsv(263, 75%, 76%)
CMYKcmyk(46.9%, 75.3%, 0%, 23.9%)
CIE-LABlab(35.78, 55.11, -66.94)
CIE-LCHlch(35.78, 86.71, 309.46°)
OKLaboklab(47.12% 0.085 -0.192)
OKLCHoklch(47.12% 0.21 293.9)
XYZxyz(16.3854, 8.8920, 51.8815)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730C2 #8BC230
analogous
#3042C2 #6730C2 #B030C2
triadic
#6730C2 #C26730 #30C267
tetradic
#6730C2 #C23042 #8BC230 #30C2B0
square
#6730C2 #C23042 #8BC230 #30C2B0
split-complementary
#6730C2 #C2B030 #42C230
monochromatic
#331860 #4D2491 #6730C2 #8859D6 #AB8AE2

Accessibility & contrast

On white

7.56
#6730C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6730C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6730C2#FFFFFF#000000##FFFFFF
##6730C21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#4C5877
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6730c2;
/* rgb */ color: rgb(103, 48, 194);
/* oklch */ color: oklch(47.1% 0.210 293.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ed6',
    500: '#6730c2',
    950: '#000000',
  },
}
SCSS
$custom: #6730c2;
$custom-light: #9b6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#6730c2",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 262.603,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.20994,
    "h": 293.9
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#6730C2
secondary
#B0CC82
accent
#E344A8
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6730C2

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

Preview Lab → · Contrast checker → · Palette generator →

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