#6731C0#6731C0

#6731C0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.207 H 294.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6731C0
RGBrgb(103, 49, 192)
HSLhsl(263, 59%, 47%)
HSVhsv(263, 74%, 75%)
CMYKcmyk(46.4%, 74.5%, 0%, 24.7%)
CIE-LABlab(35.76, 54.13, -65.79)
CIE-LCHlch(35.76, 85.20, 309.44°)
OKLaboklab(47.05% 0.0846 -0.1886)
OKLCHoklch(47.05% 0.207 294.2)
XYZxyz(16.2037, 8.8855, 50.7203)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6731C0 #8AC031
analogous
#3143C0 #6731C0 #AE31C0
triadic
#6731C0 #C06731 #31C067
tetradic
#6731C0 #C03143 #8AC031 #31C0AE
square
#6731C0 #C03143 #8AC031 #31C0AE
split-complementary
#6731C0 #C0AE31 #43C031
monochromatic
#33185E #4D258F #6731C0 #8859D5 #AB8AE1

Accessibility & contrast

On white

7.56
#6731C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6731C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6731C0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6731C0#FFFFFF#000000##FFFFFF
##6731C01.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#4D5776
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6731c0;
/* rgb */ color: rgb(103, 49, 192);
/* oklch */ color: oklch(47.1% 0.207 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b6fd4',
    500: '#6731c0',
    950: '#000000',
  },
}
SCSS
$custom: #6731c0;
$custom-light: #9b6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#6731c0",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 262.657,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.20672,
    "h": 294.2
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#6731C0
secondary
#AFCB82
accent
#E345A7
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6731C0

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

Preview Lab → · Contrast checker → · Palette generator →

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