#6236A0#6236A0

#6236A0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.164 H 298.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6236A0
RGBrgb(98, 54, 160)
HSLhsl(265, 50%, 42%)
HSVhsv(265, 66%, 63%)
CMYKcmyk(38.8%, 66.3%, 0%, 37.3%)
CIE-LABlab(33.51, 42.23, -50.44)
CIE-LCHlch(33.51, 65.79, 309.94°)
OKLaboklab(44.51% 0.0783 -0.1437)
OKLCHoklch(44.51% 0.164 298.6)
XYZxyz(12.6997, 7.7729, 34.0821)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236A0 #74A036
analogous
#363FA0 #6236A0 #9736A0
triadic
#6236A0 #A06236 #36A062
tetradic
#6236A0 #A0363F #74A036 #36A097
square
#6236A0 #A0363F #74A036 #36A097
split-complementary
#6236A0 #A09736 #3FA036
monochromatic
#2A1744 #462772 #6236A0 #804FC4 #A17DD3

Accessibility & contrast

On white

8.22
#6236A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6236A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236A0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236A0#FFFFFF#000000##FFFFFF
##6236A01.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#544E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6236a0;
/* rgb */ color: rgb(98, 54, 160);
/* oklch */ color: oklch(44.5% 0.164 298.6);
Tailwind
colors: {
  custom: {
    50: '#9470bd',
    500: '#6236a0',
    950: '#000000',
  },
}
SCSS
$custom: #6236a0;
$custom-light: #9470bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6236a0",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 160
  },
  "hsl": {
    "h": 264.906,
    "s": 49.533,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.16365,
    "h": 298.6
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#6236A0
secondary
#9FBC75
accent
#D94FA0
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6236A0

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

Preview Lab → · Contrast checker → · Palette generator →

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