#6730B9#6730B9

#6730B9 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.200 H 295.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6730B9
RGBrgb(103, 48, 185)
HSLhsl(264, 59%, 46%)
HSVhsv(264, 74%, 73%)
CMYKcmyk(44.3%, 74.1%, 0%, 27.5%)
CIE-LABlab(35.00, 52.77, -62.91)
CIE-LCHlch(35.00, 82.11, 309.99°)
OKLaboklab(46.34% 0.0872 -0.1801)
OKLCHoklch(46.34% 0.2 295.8)
XYZxyz(15.4051, 8.4999, 46.7185)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B9 #82B930
analogous
#303DB9 #6730B9 #AB30B9
triadic
#6730B9 #B96730 #30B967
tetradic
#6730B9 #B9303D #82B930 #30B9AB
square
#6730B9 #B9303D #82B930 #30B9AB
split-complementary
#6730B9 #B9AB30 #3DB930
monochromatic
#311758 #4C2388 #6730B9 #8754D3 #A984DF

Accessibility & contrast

On white

7.78
#6730B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6730B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730B9
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730B9#FFFFFF#000000##FFFFFF
##6730B91.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#515472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6730b9;
/* rgb */ color: rgb(103, 48, 185);
/* oklch */ color: oklch(46.3% 0.200 295.8);
Tailwind
colors: {
  custom: {
    50: '#9a6ecf',
    500: '#6730b9',
    950: '#000000',
  },
}
SCSS
$custom: #6730b9;
$custom-light: #9a6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b9",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 264.088,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46335,
    "c": 0.20014,
    "h": 295.8
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#6730B9
secondary
#AAC97C
accent
#E246A3
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6730B9

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

Preview Lab → · Contrast checker → · Palette generator →

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