#6438B0#6438B0

#6438B0 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.180 H 295.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6438B0
RGBrgb(100, 56, 176)
HSLhsl(262, 52%, 45%)
HSVhsv(262, 68%, 69%)
CMYKcmyk(43.2%, 68.2%, 0%, 31%)
CIE-LABlab(35.34, 45.88, -57.03)
CIE-LCHlch(35.34, 73.20, 308.81°)
OKLaboklab(46.27% 0.0769 -0.163)
OKLCHoklch(46.27% 0.18 295.3)
XYZxyz(14.5041, 8.6719, 41.9755)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438B0 #84B038
analogous
#3848B0 #6438B0 #A038B0
triadic
#6438B0 #B06438 #38B064
tetradic
#6438B0 #B03848 #84B038 #38B0A0
square
#6438B0 #B03848 #84B038 #38B0A0
split-complementary
#6438B0 #B0A038 #48B038
monochromatic
#2F1A53 #4A2982 #6438B0 #845BCB #A689D9

Accessibility & contrast

On white

7.68
#6438B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6438B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438B0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438B0#FFFFFF#000000##FFFFFF
##6438B01.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#50556F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6438b0;
/* rgb */ color: rgb(100, 56, 176);
/* oklch */ color: oklch(46.3% 0.180 295.3);
Tailwind
colors: {
  custom: {
    50: '#9672c8',
    500: '#6438b0',
    950: '#000000',
  },
}
SCSS
$custom: #6438b0;
$custom-light: #9672c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6438b0",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 262,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.18024,
    "h": 295.3
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#6438B0
secondary
#ABC480
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438B0

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

Preview Lab → · Contrast checker → · Palette generator →

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