#6727B3#6727B3

#6727B3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.203 H 298.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6727B3
RGBrgb(103, 39, 179)
HSLhsl(267, 64%, 43%)
HSVhsv(267, 78%, 70%)
CMYKcmyk(42.5%, 78.2%, 0%, 29.8%)
CIE-LABlab(33.11, 55.19, -62.45)
CIE-LCHlch(33.11, 83.34, 311.47°)
OKLaboklab(44.85% 0.0964 -0.1787)
OKLCHoklch(44.85% 0.203 298.3)
XYZxyz(14.4536, 7.5890, 43.3424)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727B3 #73B327
analogous
#272DB3 #6727B3 #AD27B3
triadic
#6727B3 #B36727 #27B367
tetradic
#6727B3 #B3272D #73B327 #27B3AD
square
#6727B3 #B3272D #73B327 #27B3AD
split-complementary
#6727B3 #B3AD27 #2DB327
monochromatic
#2D114E #4A1C81 #6727B3 #8541D6 #A674E1

Accessibility & contrast

On white

8.34
#6727B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6727B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727B3
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727B3#FFFFFF#000000##FFFFFF
##6727B31.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6727b3;
/* rgb */ color: rgb(103, 39, 179);
/* oklch */ color: oklch(44.8% 0.203 298.3);
Tailwind
colors: {
  custom: {
    50: '#9a69cb',
    500: '#6727b3',
    950: '#000000',
  },
}
SCSS
$custom: #6727b3;
$custom-light: #9a69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6727b3",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 267.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.20303,
    "h": 298.3
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#6727B3
secondary
#9FC86E
accent
#E7419B
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6727B3

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

Preview Lab → · Contrast checker → · Palette generator →

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