#6738B3#6738B3

#6738B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.184 H 296.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6738B3
RGBrgb(103, 56, 179)
HSLhsl(263, 52%, 46%)
HSVhsv(263, 69%, 70%)
CMYKcmyk(42.5%, 68.7%, 0%, 29.8%)
CIE-LABlab(35.92, 47.26, -57.87)
CIE-LCHlch(35.92, 74.71, 309.24°)
OKLaboklab(46.83% 0.0807 -0.1654)
OKLCHoklch(46.83% 0.184 296)
XYZxyz(15.1422, 8.9663, 43.5719)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738B3 #84B338
analogous
#3846B3 #6738B3 #A438B3
triadic
#6738B3 #B36738 #38B367
tetradic
#6738B3 #B33846 #84B338 #38B3A4
square
#6738B3 #B33846 #84B338 #38B3A4
split-complementary
#6738B3 #B3A438 #46B338
monochromatic
#311B56 #4C2984 #6738B3 #875CCC #A98BDB

Accessibility & contrast

On white

7.52
#6738B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6738B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738B3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738B3#FFFFFF#000000##FFFFFF
##6738B31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#535671
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6738b3;
/* rgb */ color: rgb(103, 56, 179);
/* oklch */ color: oklch(46.8% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#9972cb',
    500: '#6738b3',
    950: '#000000',
  },
}
SCSS
$custom: #6738b3;
$custom-light: #9972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6738b3",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 262.927,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.18401,
    "h": 296
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#6738B3
secondary
#ABC582
accent
#DC4CA5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6738B3

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

Preview Lab → · Contrast checker → · Palette generator →

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