#6738C4#6738C4

#6738C4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.204 H 292.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6738C4
RGBrgb(103, 56, 196)
HSLhsl(260, 56%, 49%)
HSVhsv(260, 71%, 77%)
CMYKcmyk(47.4%, 71.4%, 0%, 23.1%)
CIE-LABlab(37.29, 51.83, -65.63)
CIE-LCHlch(37.29, 83.63, 308.30°)
OKLaboklab(48.24% 0.0776 -0.1882)
OKLCHoklch(48.24% 0.204 292.4)
XYZxyz(16.9687, 9.6969, 53.1915)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738C4 #95C438
analogous
#384FC4 #6738C4 #AD38C4
triadic
#6738C4 #C46738 #38C467
tetradic
#6738C4 #C4384F #95C438 #38C4AD
square
#6738C4 #C4384F #95C438 #38C4AD
split-complementary
#6738C4 #C4AD38 #4FC438
monochromatic
#351D65 #4E2A94 #6738C4 #8B66D3 #AF96E1

Accessibility & contrast

On white

7.14
#6738C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6738C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738C4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738C4#FFFFFF#000000##FFFFFF
##6738C41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#4A5C7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6738c4;
/* rgb */ color: rgb(103, 56, 196);
/* oklch */ color: oklch(48.2% 0.204 292.4);
Tailwind
colors: {
  custom: {
    50: '#9b73d7',
    500: '#6738c4',
    950: '#000000',
  },
}
SCSS
$custom: #6738c4;
$custom-light: #9b73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6738c4",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 260.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.20355,
    "h": 292.4
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#6738C4
secondary
#B7CC8C
accent
#DF49AD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6738C4

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

Preview Lab → · Contrast checker → · Palette generator →

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