#6738BE#6738BE

#6738BE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.197 H 293.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6738BE
RGBrgb(103, 56, 190)
HSLhsl(261, 54%, 48%)
HSVhsv(261, 71%, 75%)
CMYKcmyk(45.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(36.80, 50.21, -62.93)
CIE-LCHlch(36.80, 80.50, 308.59°)
OKLaboklab(47.73% 0.0788 -0.1802)
OKLCHoklch(47.73% 0.197 293.6)
XYZxyz(16.2994, 9.4291, 49.6664)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738BE #8FBE38
analogous
#384CBE #6738BE #AA38BE
triadic
#6738BE #BE6738 #38BE67
tetradic
#6738BE #BE384C #8FBE38 #38BEAA
square
#6738BE #BE384C #8FBE38 #38BEAA
split-complementary
#6738BE #BEAA38 #4CBE38
monochromatic
#341C5F #4D2A8F #6738BE #8962D1 #AD92DF

Accessibility & contrast

On white

7.28
#6738BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6738BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738BE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738BE#FFFFFF#000000##FFFFFF
##6738BE1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#4E5A77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6738be;
/* rgb */ color: rgb(103, 56, 190);
/* oklch */ color: oklch(47.7% 0.197 293.6);
Tailwind
colors: {
  custom: {
    50: '#9a72d3',
    500: '#6738be',
    950: '#000000',
  },
}
SCSS
$custom: #6738be;
$custom-light: #9a72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6738be",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 261.045,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.1967,
    "h": 293.6
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#6738BE
secondary
#B3CA88
accent
#DE4AAA
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6738BE

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

Preview Lab → · Contrast checker → · Palette generator →

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