#6338BC#6338BC

#6338BC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.194 H 292.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6338BC
RGBrgb(99, 56, 188)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 70%, 74%)
CMYKcmyk(47.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(36.20, 48.97, -62.75)
CIE-LCHlch(36.20, 79.59, 307.97°)
OKLaboklab(47.16% 0.0734 -0.1798)
OKLCHoklch(47.16% 0.194 292.2)
XYZxyz(15.6343, 9.1113, 48.5021)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6338BC #91BC38
analogous
#384FBC #6338BC #A538BC
triadic
#6338BC #BC6338 #38BC63
tetradic
#6338BC #BC384F #91BC38 #38BCA5
square
#6338BC #BC384F #91BC38 #38BCA5
split-complementary
#6338BC #BCA538 #4FBC38
monochromatic
#311C5E #4A2A8D #6338BC #8561D0 #AA90DE

Accessibility & contrast

On white

7.44
#6338BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6338BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6338BC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6338BC#FFFFFF#000000##FFFFFF
##6338BC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#475A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6338bc;
/* rgb */ color: rgb(99, 56, 188);
/* oklch */ color: oklch(47.2% 0.194 292.2);
Tailwind
colors: {
  custom: {
    50: '#9772d1',
    500: '#6338bc',
    950: '#000000',
  },
}
SCSS
$custom: #6338bc;
$custom-light: #9772d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6338bc",
  "rgb": {
    "r": 99,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 259.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47156,
    "c": 0.19425,
    "h": 292.2
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#6338BC
secondary
#B3C987
accent
#DD4AAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6338BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6338BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva