#6730B5#6730B5

#6730B5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.196 H 296.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6730B5
RGBrgb(103, 48, 181)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 73%, 71%)
CMYKcmyk(43.1%, 73.5%, 0%, 29%)
CIE-LABlab(34.67, 51.74, -61.09)
CIE-LCHlch(34.67, 80.06, 310.26°)
OKLaboklab(45.99% 0.0881 -0.1748)
OKLCHoklch(45.99% 0.196 296.8)
XYZxyz(14.9888, 8.3334, 44.5259)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B5 #7EB530
analogous
#303BB5 #6730B5 #AA30B5
triadic
#6730B5 #B56730 #30B567
tetradic
#6730B5 #B5303B #7EB530 #30B5AA
square
#6730B5 #B5303B #7EB530 #30B5AA
split-complementary
#6730B5 #B5AA30 #3BB530
monochromatic
#301654 #4B2385 #6730B5 #8651D1 #A882DE

Accessibility & contrast

On white

7.87
#6730B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6730B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730B5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730B5#FFFFFF#000000##FFFFFF
##6730B51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#525270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6730b5;
/* rgb */ color: rgb(103, 48, 181);
/* oklch */ color: oklch(46.0% 0.196 296.8);
Tailwind
colors: {
  custom: {
    50: '#996ecc',
    500: '#6730b5',
    950: '#000000',
  },
}
SCSS
$custom: #6730b5;
$custom-light: #996ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b5",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 264.812,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.19575,
    "h": 296.8
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#6730B5
secondary
#A7C77A
accent
#E146A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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