#6236BB#6236BB

#6236BB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.195 H 292.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6236BB
RGBrgb(98, 54, 187)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(47.6%, 71.1%, 0%, 26.7%)
CIE-LABlab(35.64, 49.54, -63.07)
CIE-LCHlch(35.64, 80.21, 308.15°)
OKLaboklab(46.71% 0.0741 -0.1808)
OKLCHoklch(46.71% 0.195 292.3)
XYZxyz(15.3233, 8.8223, 47.8996)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236BB #8FBB36
analogous
#364CBB #6236BB #A536BB
triadic
#6236BB #BB6236 #36BB62
tetradic
#6236BB #BB364C #8FBB36 #36BBA5
square
#6236BB #BB364C #8FBB36 #36BBA5
split-complementary
#6236BB #BBA536 #4CBB36
monochromatic
#301B5C #49288C #6236BB #845ED0 #A88DDE

Accessibility & contrast

On white

7.60
#6236BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6236BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236BB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236BB#FFFFFF#000000##FFFFFF
##6236BB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#465875
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6236bb;
/* rgb */ color: rgb(98, 54, 187);
/* oklch */ color: oklch(46.7% 0.195 292.3);
Tailwind
colors: {
  custom: {
    50: '#9771d0',
    500: '#6236bb',
    950: '#000000',
  },
}
SCSS
$custom: #6236bb;
$custom-light: #9771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6236bb",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 259.85,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.1954,
    "h": 292.3
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#6236BB
secondary
#B2C984
accent
#DF49AD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6236BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6236BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva