#6738BD#6738BD

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

Color values

HEX#6738BD
RGBrgb(103, 56, 189)
HSLhsl(261, 54%, 48%)
HSVhsv(261, 70%, 74%)
CMYKcmyk(45.5%, 70.4%, 0%, 25.9%)
CIE-LABlab(36.72, 49.94, -62.47)
CIE-LCHlch(36.72, 79.98, 308.64°)
OKLaboklab(47.65% 0.079 -0.1789)
OKLCHoklch(47.65% 0.196 293.8)
XYZxyz(16.1905, 9.3856, 49.0928)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738BD #8EBD38
analogous
#384BBD #6738BD #A938BD
triadic
#6738BD #BD6738 #38BD67
tetradic
#6738BD #BD384B #8EBD38 #38BDA9
square
#6738BD #BD384B #8EBD38 #38BDA9
split-complementary
#6738BD #BDA938 #4BBD38
monochromatic
#341C5F #4D2A8E #6738BD #8962D0 #AC91DE

Accessibility & contrast

On white

7.30
#6738BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6738BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738BD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738BD#FFFFFF#000000##FFFFFF
##6738BD1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#4E5A76
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6738bd;
/* rgb */ color: rgb(103, 56, 189);
/* oklch */ color: oklch(47.7% 0.196 293.8);
Tailwind
colors: {
  custom: {
    50: '#9a72d2',
    500: '#6738bd',
    950: '#000000',
  },
}
SCSS
$custom: #6738bd;
$custom-light: #9a72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6738bd",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 261.203,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.19555,
    "h": 293.8
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6738BD

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

Preview Lab → · Contrast checker → · Palette generator →

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