#6726B3#6726B3

#6726B3 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.204 H 298.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6726B3
RGBrgb(103, 38, 179)
HSLhsl(268, 65%, 43%)
HSVhsv(268, 79%, 70%)
CMYKcmyk(42.5%, 78.8%, 0%, 29.8%)
CIE-LABlab(32.97, 55.60, -62.68)
CIE-LCHlch(32.97, 83.78, 311.57°)
OKLaboklab(44.75% 0.0971 -0.1794)
OKLCHoklch(44.75% 0.204 298.4)
XYZxyz(14.4212, 7.5242, 43.3316)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726B3 #72B326
analogous
#262BB3 #6726B3 #AE26B3
triadic
#6726B3 #B36726 #26B367
tetradic
#6726B3 #B3262B #72B326 #26B3AE
square
#6726B3 #B3262B #72B326 #26B3AE
split-complementary
#6726B3 #B3AE26 #2BB326
monochromatic
#2D114E #4A1B81 #6726B3 #8540D6 #A572E1

Accessibility & contrast

On white

8.38
#6726B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6726B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726B3
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726B3#FFFFFF#000000##FFFFFF
##6726B31.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#544D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6726b3;
/* rgb */ color: rgb(103, 38, 179);
/* oklch */ color: oklch(44.8% 0.204 298.4);
Tailwind
colors: {
  custom: {
    50: '#9a68cb',
    500: '#6726b3',
    950: '#000000',
  },
}
SCSS
$custom: #6726b3;
$custom-light: #9a68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6726b3",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 267.66,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.20399,
    "h": 298.4
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#6726B3
secondary
#9EC86D
accent
#E8409A
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6726B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6726B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva