#6237B8#6237B8

#6237B8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.191 H 292.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6237B8
RGBrgb(98, 55, 184)
HSLhsl(260, 54%, 47%)
HSVhsv(260, 70%, 72%)
CMYKcmyk(46.7%, 70.1%, 0%, 27.8%)
CIE-LABlab(35.58, 48.21, -61.41)
CIE-LCHlch(35.58, 78.07, 308.13°)
OKLaboklab(46.59% 0.0737 -0.1759)
OKLCHoklch(46.59% 0.191 292.7)
XYZxyz(15.0525, 8.7892, 46.2415)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237B8 #8DB837
analogous
#374DB8 #6237B8 #A337B8
triadic
#6237B8 #B86237 #37B862
tetradic
#6237B8 #B8374D #8DB837 #37B8A3
square
#6237B8 #B8374D #8DB837 #37B8A3
split-complementary
#6237B8 #B8A337 #4DB837
monochromatic
#301B5A #492989 #6237B8 #835DCF #A78DDD

Accessibility & contrast

On white

7.61
#6237B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6237B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237B8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237B8#FFFFFF#000000##FFFFFF
##6237B81.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#485873
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6237b8;
/* rgb */ color: rgb(98, 55, 184);
/* oklch */ color: oklch(46.6% 0.191 292.7);
Tailwind
colors: {
  custom: {
    50: '#9671ce',
    500: '#6237b8',
    950: '#000000',
  },
}
SCSS
$custom: #6237b8;
$custom-light: #9671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6237b8",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 260,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.19074,
    "h": 292.7
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#6237B8
secondary
#B1C784
accent
#DD4AAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6237B8

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

Preview Lab → · Contrast checker → · Palette generator →

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