#6738B8#6738B8

#6738B8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.190 H 294.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6738B8
RGBrgb(103, 56, 184)
HSLhsl(262, 53%, 47%)
HSVhsv(262, 70%, 72%)
CMYKcmyk(44%, 69.6%, 0%, 27.8%)
CIE-LABlab(36.31, 48.60, -60.18)
CIE-LCHlch(36.31, 77.36, 308.92°)
OKLaboklab(47.24% 0.0799 -0.1722)
OKLCHoklch(47.24% 0.19 294.9)
XYZxyz(15.6571, 9.1722, 46.2836)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738B8 #89B838
analogous
#3849B8 #6738B8 #A738B8
triadic
#6738B8 #B86738 #38B867
tetradic
#6738B8 #B83849 #89B838 #38B8A7
square
#6738B8 #B83849 #89B838 #38B8A7
split-complementary
#6738B8 #B8A738 #49B838
monochromatic
#321B5A #4D2A89 #6738B8 #885FCE #AB8EDD

Accessibility & contrast

On white

7.41
#6738B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6738B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738B8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738B8#FFFFFF#000000##FFFFFF
##6738B81.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#515874
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6738b8;
/* rgb */ color: rgb(103, 56, 184);
/* oklch */ color: oklch(47.2% 0.190 294.9);
Tailwind
colors: {
  custom: {
    50: '#9972ce',
    500: '#6738b8',
    950: '#000000',
  },
}
SCSS
$custom: #6738b8;
$custom-light: #9972ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6738b8",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 262.031,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.1898,
    "h": 294.9
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#6738B8
secondary
#AFC785
accent
#DD4BA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6738B8

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

Preview Lab → · Contrast checker → · Palette generator →

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