#6236B5#6236B5

#6236B5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.188 H 293.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6236B5
RGBrgb(98, 54, 181)
HSLhsl(261, 54%, 46%)
HSVhsv(261, 70%, 71%)
CMYKcmyk(45.9%, 70.2%, 0%, 29%)
CIE-LABlab(35.14, 47.90, -60.34)
CIE-LCHlch(35.14, 77.04, 308.45°)
OKLaboklab(46.2% 0.0752 -0.1728)
OKLCHoklch(46.2% 0.188 293.5)
XYZxyz(14.6944, 8.5708, 44.5872)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236B5 #89B536
analogous
#3649B5 #6236B5 #A136B5
triadic
#6236B5 #B56236 #36B562
tetradic
#6236B5 #B53649 #89B536 #36B5A1
square
#6236B5 #B53649 #89B536 #36B5A1
split-complementary
#6236B5 #B5A136 #49B536
monochromatic
#2F1A57 #482886 #6236B5 #825ACE #A689DC

Accessibility & contrast

On white

7.74
#6236B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6236B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236B5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236B5#FFFFFF#000000##FFFFFF
##6236B51.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#4A5671
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6236b5;
/* rgb */ color: rgb(98, 54, 181);
/* oklch */ color: oklch(46.2% 0.188 293.5);
Tailwind
colors: {
  custom: {
    50: '#9671cc',
    500: '#6236b5',
    950: '#000000',
  },
}
SCSS
$custom: #6236b5;
$custom-light: #9671cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6236b5",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 260.787,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.18844,
    "h": 293.5
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#6236B5
secondary
#AEC681
accent
#DD4AAA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6236B5

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

Preview Lab → · Contrast checker → · Palette generator →

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