#6738B4#6738B4

#6738B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.185 H 295.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6738B4
RGBrgb(103, 56, 180)
HSLhsl(263, 53%, 46%)
HSVhsv(263, 69%, 71%)
CMYKcmyk(42.8%, 68.9%, 0%, 29.4%)
CIE-LABlab(36.00, 47.53, -58.33)
CIE-LCHlch(36.00, 75.24, 309.17°)
OKLaboklab(46.91% 0.0806 -0.1667)
OKLCHoklch(46.91% 0.185 295.8)
XYZxyz(15.2437, 9.0069, 44.1065)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738B4 #85B438
analogous
#3847B4 #6738B4 #A538B4
triadic
#6738B4 #B46738 #38B467
tetradic
#6738B4 #B43847 #85B438 #38B4A5
square
#6738B4 #B43847 #85B438 #38B4A5
split-complementary
#6738B4 #B4A538 #47B438
monochromatic
#321B57 #4C2985 #6738B4 #875DCD #AA8BDB

Accessibility & contrast

On white

7.50
#6738B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6738B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738B4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738B4#FFFFFF#000000##FFFFFF
##6738B41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#535671
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6738b4;
/* rgb */ color: rgb(103, 56, 180);
/* oklch */ color: oklch(46.9% 0.185 295.8);
Tailwind
colors: {
  custom: {
    50: '#9972cb',
    500: '#6738b4',
    950: '#000000',
  },
}
SCSS
$custom: #6738b4;
$custom-light: #9972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6738b4",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 262.742,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.18517,
    "h": 295.8
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6738B4

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

Preview Lab → · Contrast checker → · Palette generator →

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