#6731BB#6731BB

#6731BB is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.201 H 295.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6731BB
RGBrgb(103, 49, 187)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 74%, 73%)
CMYKcmyk(44.9%, 73.8%, 0%, 26.7%)
CIE-LABlab(35.34, 52.83, -63.55)
CIE-LCHlch(35.34, 82.64, 309.74°)
OKLaboklab(46.62% 0.0858 -0.182)
OKLCHoklch(46.62% 0.201 295.2)
XYZxyz(15.6591, 8.6676, 47.8521)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6731BB #85BB31
analogous
#3140BB #6731BB #AC31BB
triadic
#6731BB #BB6731 #31BB67
tetradic
#6731BB #BB3140 #85BB31 #31BBAC
square
#6731BB #BB3140 #85BB31 #31BBAC
split-complementary
#6731BB #BBAC31 #40BB31
monochromatic
#32185A #4C248B #6731BB #8756D3 #AA87E0

Accessibility & contrast

On white

7.68
#6731BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6731BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6731BB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6731BB#FFFFFF#000000##FFFFFF
##6731BB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#4F5573
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6731bb;
/* rgb */ color: rgb(103, 49, 187);
/* oklch */ color: oklch(46.6% 0.201 295.2);
Tailwind
colors: {
  custom: {
    50: '#9a6ed0',
    500: '#6731bb',
    950: '#000000',
  },
}
SCSS
$custom: #6731bb;
$custom-light: #9a6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6731bb",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 263.478,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.20124,
    "h": 295.2
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#6731BB
secondary
#ACC97F
accent
#E246A5
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6731BB

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

Preview Lab → · Contrast checker → · Palette generator →

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