#6726B0#6726B0

#6726B0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.201 H 299.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6726B0
RGBrgb(103, 38, 176)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 69%)
CMYKcmyk(41.5%, 78.4%, 0%, 31%)
CIE-LABlab(32.71, 54.86, -61.32)
CIE-LCHlch(32.71, 82.28, 311.82°)
OKLaboklab(44.49% 0.098 -0.1754)
OKLCHoklch(44.49% 0.201 299.2)
XYZxyz(14.1211, 7.4042, 41.7511)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726B0 #6FB026
analogous
#262AB0 #6726B0 #AC26B0
triadic
#6726B0 #B06726 #26B067
tetradic
#6726B0 #B0262A #6FB026 #26B0AC
square
#6726B0 #B0262A #6FB026 #26B0AC
split-complementary
#6726B0 #B0AC26 #2AB026
monochromatic
#2C104B #4A1B7E #6726B0 #853ED5 #A570E0

Accessibility & contrast

On white

8.47
#6726B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6726B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726B0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726B0#FFFFFF#000000##FFFFFF
##6726B01.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#554C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6726b0;
/* rgb */ color: rgb(103, 38, 176);
/* oklch */ color: oklch(44.5% 0.201 299.2);
Tailwind
colors: {
  custom: {
    50: '#9968c9',
    500: '#6726b0',
    950: '#000000',
  },
}
SCSS
$custom: #6726b0;
$custom-light: #9968c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6726b0",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 268.261,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.20091,
    "h": 299.2
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#6726B0
secondary
#9CC76B
accent
#E74099
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6726B0

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

Preview Lab → · Contrast checker → · Palette generator →

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