#6236B6#6236B6

#6236B6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.190 H 293.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6236B6
RGBrgb(98, 54, 182)
HSLhsl(261, 54%, 46%)
HSVhsv(261, 70%, 71%)
CMYKcmyk(46.2%, 70.3%, 0%, 28.6%)
CIE-LABlab(35.23, 48.18, -60.80)
CIE-LCHlch(35.23, 77.57, 308.39°)
OKLaboklab(46.29% 0.075 -0.1741)
OKLCHoklch(46.29% 0.19 293.3)
XYZxyz(14.7973, 8.6119, 45.1295)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236B6 #8AB636
analogous
#364AB6 #6236B6 #A236B6
triadic
#6236B6 #B66236 #36B662
tetradic
#6236B6 #B6364A #8AB636 #36B6A2
square
#6236B6 #B6364A #8AB636 #36B6A2
split-complementary
#6236B6 #B6A236 #4AB636
monochromatic
#2F1A58 #492887 #6236B6 #835BCE #A68ADC

Accessibility & contrast

On white

7.71
#6236B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6236B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236B6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236B6#FFFFFF#000000##FFFFFF
##6236B61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#495672
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6236b6;
/* rgb */ color: rgb(98, 54, 182);
/* oklch */ color: oklch(46.3% 0.190 293.3);
Tailwind
colors: {
  custom: {
    50: '#9671cd',
    500: '#6236b6',
    950: '#000000',
  },
}
SCSS
$custom: #6236b6;
$custom-light: #9671cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6236b6",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 260.625,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46285,
    "c": 0.18961,
    "h": 293.3
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#6236B6
secondary
#AFC681
accent
#DE4AAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6236B6

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

Preview Lab → · Contrast checker → · Palette generator →

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