#6738C0#6738C0

#6738C0 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.199 H 293.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6738C0
RGBrgb(103, 56, 192)
HSLhsl(261, 55%, 49%)
HSVhsv(261, 71%, 75%)
CMYKcmyk(46.4%, 70.8%, 0%, 24.7%)
CIE-LABlab(36.96, 50.75, -63.83)
CIE-LCHlch(36.96, 81.55, 308.49°)
OKLaboklab(47.9% 0.0784 -0.1829)
OKLCHoklch(47.9% 0.199 293.2)
XYZxyz(16.5195, 9.5172, 50.8256)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738C0 #91C038
analogous
#384DC0 #6738C0 #AB38C0
triadic
#6738C0 #C06738 #38C067
tetradic
#6738C0 #C0384D #91C038 #38C0AB
square
#6738C0 #C0384D #91C038 #38C0AB
split-complementary
#6738C0 #C0AB38 #4DC038
monochromatic
#341C61 #4E2A91 #6738C0 #8A64D2 #AD93DF

Accessibility & contrast

On white

7.23
#6738C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6738C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738C0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738C0#FFFFFF#000000##FFFFFF
##6738C01.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#4C5B78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6738c0;
/* rgb */ color: rgb(103, 56, 192);
/* oklch */ color: oklch(47.9% 0.199 293.2);
Tailwind
colors: {
  custom: {
    50: '#9a72d4',
    500: '#6738c0',
    950: '#000000',
  },
}
SCSS
$custom: #6738c0;
$custom-light: #9a72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6738c0",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 260.735,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.19899,
    "h": 293.2
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#6738C0
secondary
#B4CB89
accent
#DE4AAB
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6738C0

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

Preview Lab → · Contrast checker → · Palette generator →

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