#6738B2#6738B2

#6738B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.183 H 296.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6738B2
RGBrgb(103, 56, 178)
HSLhsl(263, 52%, 46%)
HSVhsv(263, 69%, 70%)
CMYKcmyk(42.1%, 68.5%, 0%, 30.2%)
CIE-LABlab(35.84, 47.00, -57.40)
CIE-LCHlch(35.84, 74.18, 309.31°)
OKLaboklab(46.75% 0.0809 -0.164)
OKLCHoklch(46.75% 0.183 296.2)
XYZxyz(15.0415, 8.9260, 43.0412)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738B2 #83B238
analogous
#3846B2 #6738B2 #A438B2
triadic
#6738B2 #B26738 #38B267
tetradic
#6738B2 #B23846 #83B238 #38B2A4
square
#6738B2 #B23846 #83B238 #38B2A4
split-complementary
#6738B2 #B2A438 #46B238
monochromatic
#311B55 #4C2983 #6738B2 #875CCC #A98ADA

Accessibility & contrast

On white

7.54
#6738B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6738B2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738B2#FFFFFF#000000##FFFFFF
##6738B21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6738b2;
/* rgb */ color: rgb(103, 56, 178);
/* oklch */ color: oklch(46.8% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#9972ca',
    500: '#6738b2',
    950: '#000000',
  },
}
SCSS
$custom: #6738b2;
$custom-light: #9972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6738b2",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 263.115,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46754,
    "c": 0.18284,
    "h": 296.2
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#6738B2
secondary
#ABC581
accent
#DC4CA4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6738B2

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

Preview Lab → · Contrast checker → · Palette generator →

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