#6236AE#6236AE

#6236AE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.180 H 295.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6236AE
RGBrgb(98, 54, 174)
HSLhsl(262, 53%, 45%)
HSVhsv(262, 69%, 68%)
CMYKcmyk(43.7%, 69%, 0%, 31.8%)
CIE-LABlab(34.58, 46.00, -57.10)
CIE-LCHlch(34.58, 73.32, 308.86°)
OKLaboklab(45.62% 0.0764 -0.1633)
OKLCHoklch(45.62% 0.18 295.1)
XYZxyz(13.9941, 8.2907, 40.8991)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236AE #82AE36
analogous
#3646AE #6236AE #9E36AE
triadic
#6236AE #AE6236 #36AE62
tetradic
#6236AE #AE3646 #82AE36 #36AE9E
square
#6236AE #AE3646 #82AE36 #36AE9E
split-complementary
#6236AE #AE9E36 #46AE36
monochromatic
#2D1951 #48287F #6236AE #8156CB #A485D9

Accessibility & contrast

On white

7.90
#6236AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6236AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236AE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236AE#FFFFFF#000000##FFFFFF
##6236AE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#4D536E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6236ae;
/* rgb */ color: rgb(98, 54, 174);
/* oklch */ color: oklch(45.6% 0.180 295.1);
Tailwind
colors: {
  custom: {
    50: '#9570c7',
    500: '#6236ae',
    950: '#000000',
  },
}
SCSS
$custom: #6236ae;
$custom-light: #9570c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6236ae",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 262,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.18025,
    "h": 295.1
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#6236AE
secondary
#A9C37D
accent
#DC4CA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6236AE

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

Preview Lab → · Contrast checker → · Palette generator →

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