#6738C3#6738C3

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

Color values

HEX#6738C3
RGBrgb(103, 56, 195)
HSLhsl(260, 55%, 49%)
HSVhsv(260, 71%, 76%)
CMYKcmyk(47.2%, 71.3%, 0%, 23.5%)
CIE-LABlab(37.21, 51.56, -65.18)
CIE-LCHlch(37.21, 83.11, 308.34°)
OKLaboklab(48.16% 0.0778 -0.1869)
OKLCHoklch(48.16% 0.202 292.6)
XYZxyz(16.8553, 9.6515, 52.5940)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738C3 #94C338
analogous
#384FC3 #6738C3 #AD38C3
triadic
#6738C3 #C36738 #38C367
tetradic
#6738C3 #C3384F #94C338 #38C3AD
square
#6738C3 #C3384F #94C338 #38C3AD
split-complementary
#6738C3 #C3AD38 #4FC338
monochromatic
#351D64 #4E2A93 #6738C3 #8A65D3 #AE95E1

Accessibility & contrast

On white

7.17
#6738C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6738C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738C3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738C3#FFFFFF#000000##FFFFFF
##6738C31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#4B5C7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6738c3;
/* rgb */ color: rgb(103, 56, 195);
/* oklch */ color: oklch(48.2% 0.202 292.6);
Tailwind
colors: {
  custom: {
    50: '#9b73d6',
    500: '#6738c3',
    950: '#000000',
  },
}
SCSS
$custom: #6738c3;
$custom-light: #9b73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6738c3",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 260.288,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48155,
    "c": 0.20242,
    "h": 292.6
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#6738C3
secondary
#B6CC8B
accent
#DF49AC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6738C3

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

Preview Lab → · Contrast checker → · Palette generator →

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