#6731C8#6731C8

#6731C8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.215 H 292.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6731C8
RGBrgb(103, 49, 200)
HSLhsl(261, 61%, 49%)
HSVhsv(261, 76%, 78%)
CMYKcmyk(48.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(36.46, 56.22, -69.33)
CIE-LCHlch(36.46, 89.26, 309.04°)
OKLaboklab(47.76% 0.0826 -0.199)
OKLCHoklch(47.76% 0.215 292.5)
XYZxyz(17.1142, 9.2497, 55.5160)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6731C8 #92C831
analogous
#3147C8 #6731C8 #B331C8
triadic
#6731C8 #C86731 #31C867
tetradic
#6731C8 #C83147 #92C831 #31C8B3
square
#6731C8 #C83147 #92C831 #31C8B3
split-complementary
#6731C8 #C8B331 #47C831
monochromatic
#341966 #4E2597 #6731C8 #8A5FD8 #AE90E4

Accessibility & contrast

On white

7.37
#6731C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6731C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6731C8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6731C8#FFFFFF#000000##FFFFFF
##6731C81.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#485A7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6731c8;
/* rgb */ color: rgb(103, 49, 200);
/* oklch */ color: oklch(47.8% 0.215 292.5);
Tailwind
colors: {
  custom: {
    50: '#9c6fda',
    500: '#6731c8',
    950: '#000000',
  },
}
SCSS
$custom: #6731c8;
$custom-light: #9c6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#6731c8",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 261.457,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.21544,
    "h": 292.5
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#6731C8
secondary
#B5CE86
accent
#E444AB
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6731C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6731C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva