#6236A3#6236A3

#6236A3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.167 H 297.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6236A3
RGBrgb(98, 54, 163)
HSLhsl(264, 50%, 43%)
HSVhsv(264, 67%, 64%)
CMYKcmyk(39.9%, 66.9%, 0%, 36.1%)
CIE-LABlab(33.73, 43.03, -51.89)
CIE-LCHlch(33.73, 67.41, 309.67°)
OKLaboklab(44.75% 0.078 -0.1479)
OKLCHoklch(44.75% 0.167 297.8)
XYZxyz(12.9653, 7.8791, 35.4810)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236A3 #77A336
analogous
#3641A3 #6236A3 #9836A3
triadic
#6236A3 #A36236 #36A362
tetradic
#6236A3 #A33641 #77A336 #36A398
square
#6236A3 #A33641 #77A336 #36A398
split-complementary
#6236A3 #A39836 #41A336
monochromatic
#2B1847 #462775 #6236A3 #8051C5 #A17FD5

Accessibility & contrast

On white

8.15
#6236A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6236A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236A3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236A3#FFFFFF#000000##FFFFFF
##6236A31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#524F68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6236a3;
/* rgb */ color: rgb(98, 54, 163);
/* oklch */ color: oklch(44.7% 0.167 297.8);
Tailwind
colors: {
  custom: {
    50: '#9470bf',
    500: '#6236a3',
    950: '#000000',
  },
}
SCSS
$custom: #6236a3;
$custom-light: #9470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6236a3",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 264.22,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.16723,
    "h": 297.8
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#6236A3
secondary
#A1BE77
accent
#DA4EA1
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6236A3

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

Preview Lab → · Contrast checker → · Palette generator →

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