#6237A6#6237A6

#6237A6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.1% C 0.169 H 296.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6237A6
RGBrgb(98, 55, 166)
HSLhsl(263, 50%, 43%)
HSVhsv(263, 67%, 65%)
CMYKcmyk(41%, 66.9%, 0%, 34.9%)
CIE-LABlab(34.15, 43.30, -53.01)
CIE-LCHlch(34.15, 68.44, 309.25°)
OKLaboklab(45.12% 0.0765 -0.1512)
OKLCHoklch(45.12% 0.169 296.8)
XYZxyz(13.2843, 8.0820, 36.9291)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237A6 #7BA637
analogous
#3744A6 #6237A6 #9937A6
triadic
#6237A6 #A66237 #37A662
tetradic
#6237A6 #A63744 #7BA637 #37A699
square
#6237A6 #A63744 #7BA637 #37A699
split-complementary
#6237A6 #A69937 #44A637
monochromatic
#2C194A #472878 #6237A6 #8054C6 #A282D6

Accessibility & contrast

On white

8.03
#6237A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6237A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237A6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237A6#FFFFFF#000000##FFFFFF
##6237A61.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#51516A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6237a6;
/* rgb */ color: rgb(98, 55, 166);
/* oklch */ color: oklch(45.1% 0.169 296.8);
Tailwind
colors: {
  custom: {
    50: '#9471c1',
    500: '#6237a6',
    950: '#000000',
  },
}
SCSS
$custom: #6237a6;
$custom-light: #9471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6237a6",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 263.243,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.16948,
    "h": 296.8
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#6237A6
secondary
#A4BF7A
accent
#DA4EA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6237A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6237A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva