#6236BD#6236BD

#6236BD is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.198 H 291.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6236BD
RGBrgb(98, 54, 189)
HSLhsl(260, 56%, 48%)
HSVhsv(260, 71%, 74%)
CMYKcmyk(48.1%, 71.4%, 0%, 25.9%)
CIE-LABlab(35.81, 50.09, -63.98)
CIE-LCHlch(35.81, 81.25, 308.06°)
OKLaboklab(46.88% 0.0736 -0.1835)
OKLCHoklch(46.88% 0.198 291.9)
XYZxyz(15.5389, 8.9086, 49.0350)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236BD #91BD36
analogous
#364DBD #6236BD #A636BD
triadic
#6236BD #BD6236 #36BD62
tetradic
#6236BD #BD364D #91BD36 #36BDA6
square
#6236BD #BD364D #91BD36 #36BDA6
split-complementary
#6236BD #BDA636 #4DBD36
monochromatic
#311B5E #49288D #6236BD #845FD1 #A98FDF

Accessibility & contrast

On white

7.55
#6236BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6236BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236BD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236BD#FFFFFF#000000##FFFFFF
##6236BD1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#455976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6236bd;
/* rgb */ color: rgb(98, 54, 189);
/* oklch */ color: oklch(46.9% 0.198 291.9);
Tailwind
colors: {
  custom: {
    50: '#9771d2',
    500: '#6236bd',
    950: '#000000',
  },
}
SCSS
$custom: #6236bd;
$custom-light: #9771d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6236bd",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 259.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.19771,
    "h": 291.9
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#6236BD
secondary
#B3C985
accent
#DF49AE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6236BD

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

Preview Lab → · Contrast checker → · Palette generator →

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