#6738BA#6738BA

#6738BA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.192 H 294.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6738BA
RGBrgb(103, 56, 186)
HSLhsl(262, 54%, 47%)
HSVhsv(262, 70%, 73%)
CMYKcmyk(44.6%, 69.9%, 0%, 27.1%)
CIE-LABlab(36.47, 49.14, -61.10)
CIE-LCHlch(36.47, 78.41, 308.81°)
OKLaboklab(47.4% 0.0795 -0.1749)
OKLCHoklch(47.4% 0.192 294.5)
XYZxyz(15.8682, 9.2567, 47.3955)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738BA #8BBA38
analogous
#384ABA #6738BA #A838BA
triadic
#6738BA #BA6738 #38BA67
tetradic
#6738BA #BA384A #8BBA38 #38BAA8
square
#6738BA #BA384A #8BBA38 #38BAA8
split-complementary
#6738BA #BAA838 #4ABA38
monochromatic
#331C5C #4D2A8B #6738BA #8860CF #AB8FDD

Accessibility & contrast

On white

7.36
#6738BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6738BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738BA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738BA#FFFFFF#000000##FFFFFF
##6738BA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#505875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6738ba;
/* rgb */ color: rgb(103, 56, 186);
/* oklch */ color: oklch(47.4% 0.192 294.5);
Tailwind
colors: {
  custom: {
    50: '#9972d0',
    500: '#6738ba',
    950: '#000000',
  },
}
SCSS
$custom: #6738ba;
$custom-light: #9972d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6738ba",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 261.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.19211,
    "h": 294.5
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#6738BA
secondary
#B0C886
accent
#DD4BA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6738BA

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

Preview Lab → · Contrast checker → · Palette generator →

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