#6738BB#6738BB

#6738BB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.193 H 294.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6738BB
RGBrgb(103, 56, 187)
HSLhsl(262, 54%, 48%)
HSVhsv(262, 70%, 73%)
CMYKcmyk(44.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(36.55, 49.41, -61.56)
CIE-LCHlch(36.55, 78.93, 308.75°)
OKLaboklab(47.49% 0.0794 -0.1762)
OKLCHoklch(47.49% 0.193 294.2)
XYZxyz(15.9749, 9.2993, 47.9573)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738BB #8CBB38
analogous
#384ABB #6738BB #A938BB
triadic
#6738BB #BB6738 #38BB67
tetradic
#6738BB #BB384A #8CBB38 #38BBA9
square
#6738BB #BB384A #8CBB38 #38BBA9
split-complementary
#6738BB #BBA938 #4ABB38
monochromatic
#331C5D #4D2A8C #6738BB #8861D0 #AC90DE

Accessibility & contrast

On white

7.34
#6738BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6738BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738BB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738BB#FFFFFF#000000##FFFFFF
##6738BB1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#4F5975
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6738bb;
/* rgb */ color: rgb(103, 56, 187);
/* oklch */ color: oklch(47.5% 0.193 294.2);
Tailwind
colors: {
  custom: {
    50: '#9a72d0',
    500: '#6738bb',
    950: '#000000',
  },
}
SCSS
$custom: #6738bb;
$custom-light: #9a72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6738bb",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 261.527,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.19326,
    "h": 294.2
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#6738BB
secondary
#B1C886
accent
#DD4BA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6738BB

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

Preview Lab → · Contrast checker → · Palette generator →

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