#6730B2#6730B2

#6730B2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.192 H 297.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6730B2
RGBrgb(103, 48, 178)
HSLhsl(265, 58%, 44%)
HSVhsv(265, 73%, 70%)
CMYKcmyk(42.1%, 73%, 0%, 30.2%)
CIE-LABlab(34.42, 50.97, -59.72)
CIE-LCHlch(34.42, 78.51, 310.48°)
OKLaboklab(45.74% 0.0888 -0.1708)
OKLCHoklch(45.74% 0.192 297.5)
XYZxyz(14.6843, 8.2116, 42.9222)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730B2 #7BB230
analogous
#303AB2 #6730B2 #A830B2
triadic
#6730B2 #B26730 #30B267
tetradic
#6730B2 #B2303A #7BB230 #30B2A8
square
#6730B2 #B2303A #7BB230 #30B2A8
split-complementary
#6730B2 #B2A830 #3AB230
monochromatic
#2F1652 #4B2382 #6730B2 #8650D0 #A780DD

Accessibility & contrast

On white

7.95
#6730B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6730B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730B2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730B2#FFFFFF#000000##FFFFFF
##6730B21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#54516E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6730b2;
/* rgb */ color: rgb(103, 48, 178);
/* oklch */ color: oklch(45.7% 0.192 297.5);
Tailwind
colors: {
  custom: {
    50: '#996dca',
    500: '#6730b2',
    950: '#000000',
  },
}
SCSS
$custom: #6730b2;
$custom-light: #996dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6730b2",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 265.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.19245,
    "h": 297.5
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#6730B2
secondary
#A5C678
accent
#E147A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6730B2

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

Preview Lab → · Contrast checker → · Palette generator →

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