#6438BE#6438BE

#6438BE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.197 H 292.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6438BE
RGBrgb(100, 56, 190)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 71%, 75%)
CMYKcmyk(47.4%, 70.5%, 0%, 25.5%)
CIE-LABlab(36.47, 49.69, -63.47)
CIE-LCHlch(36.47, 80.61, 308.06°)
OKLaboklab(47.43% 0.0745 -0.1819)
OKLCHoklch(47.43% 0.197 292.3)
XYZxyz(15.9614, 9.2548, 49.6506)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438BE #92BE38
analogous
#384FBE #6438BE #A738BE
triadic
#6438BE #BE6438 #38BE64
tetradic
#6438BE #BE384F #92BE38 #38BEA7
square
#6438BE #BE384F #92BE38 #38BEA7
split-complementary
#6438BE #BEA738 #4FBE38
monochromatic
#321C5F #4B2A8F #6438BE #8762D1 #AB92DF

Accessibility & contrast

On white

7.37
#6438BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6438BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438BE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438BE#FFFFFF#000000##FFFFFF
##6438BE1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#485A77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6438be;
/* rgb */ color: rgb(100, 56, 190);
/* oklch */ color: oklch(47.4% 0.197 292.3);
Tailwind
colors: {
  custom: {
    50: '#9872d3',
    500: '#6438be',
    950: '#000000',
  },
}
SCSS
$custom: #6438be;
$custom-light: #9872d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6438be",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 259.701,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.1966,
    "h": 292.3
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#6438BE
secondary
#B4CA88
accent
#DE4AAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6438BE

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

Preview Lab → · Contrast checker → · Palette generator →

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