#6738DB#6738DB

#6738DB is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.229 H 288.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6738DB
RGBrgb(103, 56, 219)
HSLhsl(257, 69%, 54%)
HSVhsv(257, 74%, 86%)
CMYKcmyk(53%, 74.4%, 0%, 14.1%)
CIE-LABlab(39.28, 58.05, -75.68)
CIE-LCHlch(39.28, 95.38, 307.49°)
OKLaboklab(50.26% 0.0723 -0.2176)
OKLCHoklch(50.26% 0.229 288.4)
XYZxyz(19.7901, 10.8254, 68.0508)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6738DB #ACDB38
analogous
#385BDB #6738DB #B938DB
triadic
#6738DB #DB6738 #38DB67
tetradic
#6738DB #DB385B #ACDB38 #38DBB9
square
#6738DB #DB385B #ACDB38 #38DBB9
split-complementary
#6738DB #DBB938 #5BDB38
monochromatic
#361781 #4C21B5 #6738DB #8F6CE4 #B6A0EE

Accessibility & contrast

On white

6.63
#6738DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6738DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6738DB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6738DB#FFFFFF#000000##FFFFFF
##6738DB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#396587
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6738db;
/* rgb */ color: rgb(103, 56, 219);
/* oklch */ color: oklch(50.3% 0.229 288.4);
Tailwind
colors: {
  custom: {
    50: '#9e74e7',
    500: '#6738db',
    950: '#000000',
  },
}
SCSS
$custom: #6738db;
$custom-light: #9e74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6738db",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 257.301,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.22933,
    "h": 288.4
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#6738DB
secondary
#C6DA95
accent
#EC3CB9
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6738DB

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

Preview Lab → · Contrast checker → · Palette generator →

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