#6727AF#6727AF

#6727AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.199 H 299.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6727AF
RGBrgb(103, 39, 175)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 69%)
CMYKcmyk(41.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(32.77, 54.21, -60.63)
CIE-LCHlch(32.77, 81.33, 311.80°)
OKLaboklab(44.5% 0.0975 -0.1734)
OKLCHoklch(44.5% 0.199 299.3)
XYZxyz(14.0549, 7.4296, 41.2427)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727AF #6FAF27
analogous
#272BAF #6727AF #AB27AF
triadic
#6727AF #AF6727 #27AF67
tetradic
#6727AF #AF272B #6FAF27 #27AFAB
square
#6727AF #AF272B #6FAF27 #27AFAB
split-complementary
#6727AF #AFAB27 #2BAF27
monochromatic
#2C114B #4A1C7D #6727AF #853FD4 #A571DF

Accessibility & contrast

On white

8.45
#6727AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6727AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727AF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727AF#FFFFFF#000000##FFFFFF
##6727AF1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#564C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6727af;
/* rgb */ color: rgb(103, 39, 175);
/* oklch */ color: oklch(44.5% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#9969c8',
    500: '#6727af',
    950: '#000000',
  },
}
SCSS
$custom: #6727af;
$custom-light: #9969c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6727af",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 268.235,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44501,
    "c": 0.19889,
    "h": 299.3
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#6727AF
secondary
#9CC66B
accent
#E74199
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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