#6438BF#6438BF

#6438BF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.198 H 292.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6438BF
RGBrgb(100, 56, 191)
HSLhsl(260, 55%, 48%)
HSVhsv(260, 71%, 75%)
CMYKcmyk(47.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(36.55, 49.96, -63.93)
CIE-LCHlch(36.55, 81.13, 308.01°)
OKLaboklab(47.51% 0.0743 -0.1833)
OKLCHoklch(47.51% 0.198 292.1)
XYZxyz(16.0710, 9.2987, 50.2282)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438BF #93BF38
analogous
#384FBF #6438BF #A738BF
triadic
#6438BF #BF6438 #38BF64
tetradic
#6438BF #BF384F #93BF38 #38BFA7
square
#6438BF #BF384F #93BF38 #38BFA7
split-complementary
#6438BF #BFA738 #4FBF38
monochromatic
#321C60 #4B2A90 #6438BF #8763D1 #AB92DF

Accessibility & contrast

On white

7.34
#6438BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6438BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438BF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438BF#FFFFFF#000000##FFFFFF
##6438BF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#475B78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6438bf;
/* rgb */ color: rgb(100, 56, 191);
/* oklch */ color: oklch(47.5% 0.198 292.1);
Tailwind
colors: {
  custom: {
    50: '#9872d3',
    500: '#6438bf',
    950: '#000000',
  },
}
SCSS
$custom: #6438bf;
$custom-light: #9872d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6438bf",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 259.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.19775,
    "h": 292.1
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#6438BF
secondary
#B5CA89
accent
#DE4AAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6438BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6438BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva