#6730AF#6730AF

#6730AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.189 H 298.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6730AF
RGBrgb(103, 48, 175)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 73%, 69%)
CMYKcmyk(41.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.17, 50.20, -58.33)
CIE-LCHlch(34.17, 76.95, 310.71°)
OKLaboklab(45.49% 0.0894 -0.1667)
OKLCHoklch(45.49% 0.189 298.2)
XYZxyz(14.3863, 8.0924, 41.3532)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6730AF #78AF30
analogous
#3038AF #6730AF #A630AF
triadic
#6730AF #AF6730 #30AF67
tetradic
#6730AF #AF3038 #78AF30 #30AFA6
square
#6730AF #AF3038 #78AF30 #30AFA6
split-complementary
#6730AF #AFA630 #38AF30
monochromatic
#2E164F #4B237F #6730AF #854ECE #A67EDC

Accessibility & contrast

On white

8.02
#6730AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6730AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6730AF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6730AF#FFFFFF#000000##FFFFFF
##6730AF1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#55506C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6730af;
/* rgb */ color: rgb(103, 48, 175);
/* oklch */ color: oklch(45.5% 0.189 298.2);
Tailwind
colors: {
  custom: {
    50: '#996dc8',
    500: '#6730af',
    950: '#000000',
  },
}
SCSS
$custom: #6730af;
$custom-light: #996dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6730af",
  "rgb": {
    "r": 103,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 265.984,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.18914,
    "h": 298.2
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#6730AF
secondary
#A3C476
accent
#E0489E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6730AF

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

Preview Lab → · Contrast checker → · Palette generator →

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