#6738BC#6738BC

#6738BC is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.194 H 294.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6738BC
RGBrgb(103, 56, 188)
HSLhsl(261, 54%, 48%)
HSVhsv(261, 70%, 74%)
CMYKcmyk(45.2%, 70.2%, 0%, 26.3%)
CIE-LABlab(36.64, 49.67, -62.02)
CIE-LCHlch(36.64, 79.46, 308.69°)
OKLaboklab(47.57% 0.0792 -0.1776)
OKLCHoklch(47.57% 0.194 294)
XYZxyz(16.0823, 9.3423, 48.5231)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738BC #8DBC38
analogous
#384BBC #6738BC #A938BC
triadic
#6738BC #BC6738 #38BC67
tetradic
#6738BC #BC384B #8DBC38 #38BCA9
square
#6738BC #BC384B #8DBC38 #38BCA9
split-complementary
#6738BC #BCA938 #4BBC38
monochromatic
#331C5E #4D2A8D #6738BC #8961D0 #AC90DE

Accessibility & contrast

On white

7.32
#6738BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6738BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738BC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738BC#FFFFFF#000000##FFFFFF
##6738BC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#4F5976
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6738bc;
/* rgb */ color: rgb(103, 56, 188);
/* oklch */ color: oklch(47.6% 0.194 294.0);
Tailwind
colors: {
  custom: {
    50: '#9a72d1',
    500: '#6738bc',
    950: '#000000',
  },
}
SCSS
$custom: #6738bc;
$custom-light: #9a72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6738bc",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 261.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.1944,
    "h": 294
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#6738BC
secondary
#B1C987
accent
#DD4AA9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6738BC

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

Preview Lab → · Contrast checker → · Palette generator →

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