#6738CB#6738CB

#6738CB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.211 H 291.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6738CB
RGBrgb(103, 56, 203)
HSLhsl(259, 59%, 51%)
HSVhsv(259, 72%, 80%)
CMYKcmyk(49.3%, 72.4%, 0%, 20.4%)
CIE-LABlab(37.88, 53.72, -68.74)
CIE-LCHlch(37.88, 87.24, 308.01°)
OKLaboklab(48.84% 0.0761 -0.1973)
OKLCHoklch(48.84% 0.211 291.1)
XYZxyz(17.7841, 10.0230, 57.4859)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738CB #9CCB38
analogous
#3852CB #6738CB #B138CB
triadic
#6738CB #CB6738 #38CB67
tetradic
#6738CB #CB3852 #9CCB38 #38CBB1
square
#6738CB #CB3852 #9CCB38 #38CBB1
split-complementary
#6738CB #CBB138 #52CB38
monochromatic
#361C6C #4E299D #6738CB #8C69D8 #B199E4

Accessibility & contrast

On white

6.99
#6738CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6738CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6738CB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738CB#FFFFFF#000000##FFFFFF
##6738CB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#465F7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6738cb;
/* rgb */ color: rgb(103, 56, 203);
/* oklch */ color: oklch(48.8% 0.211 291.1);
Tailwind
colors: {
  custom: {
    50: '#9c73dc',
    500: '#6738cb',
    950: '#000000',
  },
}
SCSS
$custom: #6738cb;
$custom-light: #9c73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6738cb",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 259.184,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.21147,
    "h": 291.1
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#6738CB
secondary
#BBD08F
accent
#E246B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6738CB

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

Preview Lab → · Contrast checker → · Palette generator →

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