#6730C9#6730C9

#6730C9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.218 H 292.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6730C9
RGBrgb(103, 48, 201)
HSLhsl(262, 61%, 49%)
HSVhsv(262, 76%, 79%)
CMYKcmyk(48.8%, 76.1%, 0%, 21.2%)
CIE-LABlab(36.39, 56.93, -70.02)
CIE-LCHlch(36.39, 90.24, 309.11°)
OKLaboklab(47.74% 0.0831 -0.201)
OKLCHoklch(47.74% 0.218 292.5)
XYZxyz(17.1901, 9.2139, 56.1197)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730C9 #92C930
analogous
#3045C9 #6730C9 #B430C9
triadic
#6730C9 #C96730 #30C967
tetradic
#6730C9 #C93045 #92C930 #30C9B4
square
#6730C9 #C93045 #92C930 #30C9B4
split-complementary
#6730C9 #C9B430 #45C930
monochromatic
#341866 #4E2498 #6730C9 #8A5ED8 #AE8FE4

Accessibility & contrast

On white

7.39
#6730C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6730C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730C9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730C9#FFFFFF#000000##FFFFFF
##6730C91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#475A7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6730c9;
/* rgb */ color: rgb(103, 48, 201);
/* oklch */ color: oklch(47.7% 0.218 292.5);
Tailwind
colors: {
  custom: {
    50: '#9c6edb',
    500: '#6730c9',
    950: '#000000',
  },
}
SCSS
$custom: #6730c9;
$custom-light: #9c6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6730c9",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 261.569,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.21751,
    "h": 292.5
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#6730C9
secondary
#B5CF86
accent
#E543AB
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6730C9

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

Preview Lab → · Contrast checker → · Palette generator →

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