#6338BE#6338BE

#6338BE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.197 H 291.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6338BE
RGBrgb(99, 56, 190)
HSLhsl(259, 54%, 48%)
HSVhsv(259, 71%, 75%)
CMYKcmyk(47.9%, 70.5%, 0%, 25.5%)
CIE-LABlab(36.36, 49.52, -63.65)
CIE-LCHlch(36.36, 80.65, 307.88°)
OKLaboklab(47.33% 0.0731 -0.1825)
OKLCHoklch(47.33% 0.197 291.8)
XYZxyz(15.8514, 9.1981, 49.6454)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6338BE #93BE38
analogous
#3850BE #6338BE #A638BE
triadic
#6338BE #BE6338 #38BE63
tetradic
#6338BE #BE3850 #93BE38 #38BEA6
square
#6338BE #BE3850 #93BE38 #38BEA6
split-complementary
#6338BE #BEA638 #50BE38
monochromatic
#321C5F #4A2A8F #6338BE #8662D1 #AA92DF

Accessibility & contrast

On white

7.39
#6338BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6338BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6338BE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6338BE#FFFFFF#000000##FFFFFF
##6338BE1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6338be;
/* rgb */ color: rgb(99, 56, 190);
/* oklch */ color: oklch(47.3% 0.197 291.8);
Tailwind
colors: {
  custom: {
    50: '#9772d3',
    500: '#6338be',
    950: '#000000',
  },
}
SCSS
$custom: #6338be;
$custom-light: #9772d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6338be",
  "rgb": {
    "r": 99,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 259.254,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.19658,
    "h": 291.8
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#6338BE
secondary
#B5CA88
accent
#DE4AAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6338BE

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

Preview Lab → · Contrast checker → · Palette generator →

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