#6734C1#6734C1

#6734C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.205 H 293.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6734C1
RGBrgb(103, 52, 193)
HSLhsl(262, 58%, 48%)
HSVhsv(262, 73%, 76%)
CMYKcmyk(46.6%, 73.1%, 0%, 24.3%)
CIE-LABlab(36.35, 52.98, -65.42)
CIE-LCHlch(36.35, 84.19, 309.00°)
OKLaboklab(47.49% 0.0818 -0.1875)
OKLCHoklch(47.49% 0.205 293.6)
XYZxyz(16.4445, 9.1893, 51.3490)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734C1 #8EC134
analogous
#3447C1 #6734C1 #AD34C1
triadic
#6734C1 #C16734 #34C167
tetradic
#6734C1 #C13447 #8EC134 #34C1AD
square
#6734C1 #C13447 #8EC134 #34C1AD
split-complementary
#6734C1 #C1AD34 #47C134
monochromatic
#341A61 #4D2791 #6734C1 #895ED4 #AC8FE1

Accessibility & contrast

On white

7.40
#6734C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6734C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734C1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734C1#FFFFFF#000000##FFFFFF
##6734C11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#4C5978
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6734c1;
/* rgb */ color: rgb(103, 52, 193);
/* oklch */ color: oklch(47.5% 0.205 293.6);
Tailwind
colors: {
  custom: {
    50: '#9b70d5',
    500: '#6734c1',
    950: '#000000',
  },
}
SCSS
$custom: #6734c1;
$custom-light: #9b70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6734c1",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 261.702,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.20461,
    "h": 293.6
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#6734C1
secondary
#B2CB86
accent
#E147A9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6734C1

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

Preview Lab → · Contrast checker → · Palette generator →

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