#6738B6#6738B6

#6738B6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.187 H 295.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6738B6
RGBrgb(103, 56, 182)
HSLhsl(262, 53%, 47%)
HSVhsv(262, 69%, 71%)
CMYKcmyk(43.4%, 69.2%, 0%, 28.6%)
CIE-LABlab(36.15, 48.06, -59.26)
CIE-LCHlch(36.15, 76.30, 309.05°)
OKLaboklab(47.08% 0.0802 -0.1694)
OKLCHoklch(47.08% 0.187 295.3)
XYZxyz(15.4489, 9.0889, 45.1873)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738B6 #87B638
analogous
#3848B6 #6738B6 #A638B6
triadic
#6738B6 #B66738 #38B667
tetradic
#6738B6 #B63848 #87B638 #38B6A6
square
#6738B6 #B63848 #87B638 #38B6A6
split-complementary
#6738B6 #B6A638 #48B638
monochromatic
#321B58 #4D2A87 #6738B6 #875ECD #AA8DDC

Accessibility & contrast

On white

7.45
#6738B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6738B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738B6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738B6#FFFFFF#000000##FFFFFF
##6738B61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#525773
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6738b6;
/* rgb */ color: rgb(103, 56, 182);
/* oklch */ color: oklch(47.1% 0.187 295.3);
Tailwind
colors: {
  custom: {
    50: '#9972cd',
    500: '#6738b6',
    950: '#000000',
  },
}
SCSS
$custom: #6738b6;
$custom-light: #9972cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6738b6",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 262.381,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.18748,
    "h": 295.3
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#6738B6
secondary
#ADC684
accent
#DC4BA6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6738B6

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

Preview Lab → · Contrast checker → · Palette generator →

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