#6236A4#6236A4

#6236A4 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.168 H 297.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6236A4
RGBrgb(98, 54, 164)
HSLhsl(264, 50%, 43%)
HSVhsv(264, 67%, 64%)
CMYKcmyk(40.2%, 67.1%, 0%, 35.7%)
CIE-LABlab(33.81, 43.30, -52.37)
CIE-LCHlch(33.81, 67.95, 309.59°)
OKLaboklab(44.83% 0.0778 -0.1494)
OKLCHoklch(44.83% 0.168 297.5)
XYZxyz(13.0553, 7.9151, 35.9547)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236A4 #78A436
analogous
#3641A4 #6236A4 #9936A4
triadic
#6236A4 #A46236 #36A462
tetradic
#6236A4 #A43641 #78A436 #36A499
square
#6236A4 #A43641 #78A436 #36A499
split-complementary
#6236A4 #A49936 #41A436
monochromatic
#2B1848 #462776 #6236A4 #8051C6 #A27FD5

Accessibility & contrast

On white

8.13
#6236A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6236A4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236A4#FFFFFF#000000##FFFFFF
##6236A41.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#525068
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6236a4;
/* rgb */ color: rgb(98, 54, 164);
/* oklch */ color: oklch(44.8% 0.168 297.5);
Tailwind
colors: {
  custom: {
    50: '#9470c0',
    500: '#6236a4',
    950: '#000000',
  },
}
SCSS
$custom: #6236a4;
$custom-light: #9470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6236a4",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 264,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44825,
    "c": 0.16842,
    "h": 297.5
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#6236A4
secondary
#A2BE78
accent
#DA4EA2
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6236A4

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

Preview Lab → · Contrast checker → · Palette generator →

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