#6236B9#6236B9

#6236B9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.193 H 292.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6236B9
RGBrgb(98, 54, 185)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(47%, 70.8%, 0%, 27.5%)
CIE-LABlab(35.47, 49.00, -62.17)
CIE-LCHlch(35.47, 79.15, 308.24°)
OKLaboklab(46.54% 0.0744 -0.1782)
OKLCHoklch(46.54% 0.193 292.7)
XYZxyz(15.1107, 8.7373, 46.7798)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236B9 #8DB936
analogous
#364BB9 #6236B9 #A436B9
triadic
#6236B9 #B96236 #36B962
tetradic
#6236B9 #B9364B #8DB936 #36B9A4
square
#6236B9 #B9364B #8DB936 #36B9A4
split-complementary
#6236B9 #B9A436 #4BB936
monochromatic
#301A5A #49288A #6236B9 #835DD0 #A78CDD

Accessibility & contrast

On white

7.64
#6236B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6236B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236B9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236B9#FFFFFF#000000##FFFFFF
##6236B91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#475774
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6236b9;
/* rgb */ color: rgb(98, 54, 185);
/* oklch */ color: oklch(46.5% 0.193 292.7);
Tailwind
colors: {
  custom: {
    50: '#9671cf',
    500: '#6236b9',
    950: '#000000',
  },
}
SCSS
$custom: #6236b9;
$custom-light: #9671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6236b9",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 260.153,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.19309,
    "h": 292.7
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#6236B9
secondary
#B1C883
accent
#DE4AAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6236B9

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

Preview Lab → · Contrast checker → · Palette generator →

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