#6730B4#6730B4

#6730B4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.195 H 297.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6730B4
RGBrgb(103, 48, 180)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 73%, 71%)
CMYKcmyk(42.8%, 73.3%, 0%, 29.4%)
CIE-LABlab(34.58, 51.48, -60.63)
CIE-LCHlch(34.58, 79.54, 310.33°)
OKLaboklab(45.91% 0.0883 -0.1734)
OKLCHoklch(45.91% 0.195 297)
XYZxyz(14.8865, 8.2925, 43.9875)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B4 #7DB430
analogous
#303BB4 #6730B4 #A930B4
triadic
#6730B4 #B46730 #30B467
tetradic
#6730B4 #B4303B #7DB430 #30B4A9
square
#6730B4 #B4303B #7DB430 #30B4A9
split-complementary
#6730B4 #B4A930 #3BB430
monochromatic
#301653 #4B2384 #6730B4 #8651D1 #A881DD

Accessibility & contrast

On white

7.90
#6730B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6730B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730B4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730B4#FFFFFF#000000##FFFFFF
##6730B41.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#53526F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6730b4;
/* rgb */ color: rgb(103, 48, 180);
/* oklch */ color: oklch(45.9% 0.195 297.0);
Tailwind
colors: {
  custom: {
    50: '#996dcb',
    500: '#6730b4',
    950: '#000000',
  },
}
SCSS
$custom: #6730b4;
$custom-light: #996dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b4",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 265,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.19465,
    "h": 297
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#6730B4
secondary
#A6C679
accent
#E147A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6730B4

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

Preview Lab → · Contrast checker → · Palette generator →

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