#6738C1#6738C1

#6738C1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.200 H 293.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6738C1
RGBrgb(103, 56, 193)
HSLhsl(261, 55%, 49%)
HSVhsv(261, 71%, 76%)
CMYKcmyk(46.6%, 71%, 0%, 24.3%)
CIE-LABlab(37.04, 51.02, -64.28)
CIE-LCHlch(37.04, 82.07, 308.44°)
OKLaboklab(47.99% 0.0782 -0.1842)
OKLCHoklch(47.99% 0.2 293)
XYZxyz(16.6307, 9.5616, 51.4111)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738C1 #92C138
analogous
#384EC1 #6738C1 #AC38C1
triadic
#6738C1 #C16738 #38C167
tetradic
#6738C1 #C1384E #92C138 #38C1AC
square
#6738C1 #C1384E #92C138 #38C1AC
split-complementary
#6738C1 #C1AC38 #4EC138
monochromatic
#341C62 #4E2A92 #6738C1 #8A64D2 #AE94E0

Accessibility & contrast

On white

7.21
#6738C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6738C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738C1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738C1#FFFFFF#000000##FFFFFF
##6738C11.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#4C5B79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6738c1;
/* rgb */ color: rgb(103, 56, 193);
/* oklch */ color: oklch(48.0% 0.200 293.0);
Tailwind
colors: {
  custom: {
    50: '#9a73d5',
    500: '#6738c1',
    950: '#000000',
  },
}
SCSS
$custom: #6738c1;
$custom-light: #9a73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6738c1",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 260.584,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.20013,
    "h": 293
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#6738C1
secondary
#B5CB8A
accent
#DE49AB
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6738C1

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

Preview Lab → · Contrast checker → · Palette generator →

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