#6738AC#6738AC

#6738AC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.176 H 297.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6738AC
RGBrgb(103, 56, 172)
HSLhsl(264, 51%, 45%)
HSVhsv(264, 67%, 67%)
CMYKcmyk(40.1%, 67.4%, 0%, 32.5%)
CIE-LABlab(35.38, 45.40, -54.58)
CIE-LCHlch(35.38, 70.99, 309.76°)
OKLaboklab(46.28% 0.0817 -0.1557)
OKLCHoklch(46.28% 0.176 297.7)
XYZxyz(14.4522, 8.6902, 39.9377)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738AC #7DAC38
analogous
#3843AC #6738AC #A138AC
triadic
#6738AC #AC6738 #38AC67
tetradic
#6738AC #AC3843 #7DAC38 #38ACA1
square
#6738AC #AC3843 #7DAC38 #38ACA1
split-complementary
#6738AC #ACA138 #43AC38
monochromatic
#301A50 #4B297E #6738AC #8658C9 #A787D8

Accessibility & contrast

On white

7.67
#6738AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6738AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738AC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738AC#FFFFFF#000000##FFFFFF
##6738AC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#56536D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6738ac;
/* rgb */ color: rgb(103, 56, 172);
/* oklch */ color: oklch(46.3% 0.176 297.7);
Tailwind
colors: {
  custom: {
    50: '#9872c6',
    500: '#6738ac',
    950: '#000000',
  },
}
SCSS
$custom: #6738ac;
$custom-light: #9872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6738ac",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 264.31,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.17583,
    "h": 297.7
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#6738AC
secondary
#A6C27E
accent
#DA4DA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6738AC

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

Preview Lab → · Contrast checker → · Palette generator →

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