#6738AF#6738AF

#6738AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.179 H 297.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6738AF
RGBrgb(103, 56, 175)
HSLhsl(264, 52%, 45%)
HSVhsv(264, 68%, 69%)
CMYKcmyk(41.1%, 68%, 0%, 31.4%)
CIE-LABlab(35.61, 46.20, -55.99)
CIE-LCHlch(35.61, 72.59, 309.52°)
OKLaboklab(46.52% 0.0813 -0.1598)
OKLCHoklch(46.52% 0.179 297)
XYZxyz(14.7435, 8.8068, 41.4722)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738AF #80AF38
analogous
#3845AF #6738AF #A238AF
triadic
#6738AF #AF6738 #38AF67
tetradic
#6738AF #AF3845 #80AF38 #38AFA2
square
#6738AF #AF3845 #80AF38 #38AFA2
split-complementary
#6738AF #AFA238 #45AF38
monochromatic
#301A52 #4C2981 #6738AF #865ACA #A888D9

Accessibility & contrast

On white

7.60
#6738AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6738AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6738AF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738AF#FFFFFF#000000##FFFFFF
##6738AF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#55546F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6738af;
/* rgb */ color: rgb(103, 56, 175);
/* oklch */ color: oklch(46.5% 0.179 297.0);
Tailwind
colors: {
  custom: {
    50: '#9872c8',
    500: '#6738af',
    950: '#000000',
  },
}
SCSS
$custom: #6738af;
$custom-light: #9872c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6738af",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 263.697,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.17934,
    "h": 297
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#6738AF
secondary
#A8C380
accent
#DB4DA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6738AF

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

Preview Lab → · Contrast checker → · Palette generator →

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