#6738BF#6738BF

#6738BF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.198 H 293.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6738BF
RGBrgb(103, 56, 191)
HSLhsl(261, 55%, 48%)
HSVhsv(261, 71%, 75%)
CMYKcmyk(46.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(36.88, 50.48, -63.38)
CIE-LCHlch(36.88, 81.03, 308.54°)
OKLaboklab(47.82% 0.0786 -0.1816)
OKLCHoklch(47.82% 0.198 293.4)
XYZxyz(16.4091, 9.4730, 50.2440)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738BF #90BF38
analogous
#384CBF #6738BF #AA38BF
triadic
#6738BF #BF6738 #38BF67
tetradic
#6738BF #BF384C #90BF38 #38BFAA
square
#6738BF #BF384C #90BF38 #38BFAA
split-complementary
#6738BF #BFAA38 #4CBF38
monochromatic
#341C60 #4D2A90 #6738BF #8963D1 #AD92DF

Accessibility & contrast

On white

7.25
#6738BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6738BF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738BF#FFFFFF#000000##FFFFFF
##6738BF1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#4D5A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6738bf;
/* rgb */ color: rgb(103, 56, 191);
/* oklch */ color: oklch(47.8% 0.198 293.4);
Tailwind
colors: {
  custom: {
    50: '#9a72d3',
    500: '#6738bf',
    950: '#000000',
  },
}
SCSS
$custom: #6738bf;
$custom-light: #9a72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6738bf",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 260.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.19785,
    "h": 293.4
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6738BF

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

Preview Lab → · Contrast checker → · Palette generator →

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