#6237B9#6237B9

#6237B9 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.192 H 292.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6237B9
RGBrgb(98, 55, 185)
HSLhsl(260, 54%, 47%)
HSVhsv(260, 70%, 73%)
CMYKcmyk(47%, 70.3%, 0%, 27.5%)
CIE-LABlab(35.66, 48.48, -61.87)
CIE-LCHlch(35.66, 78.60, 308.09°)
OKLaboklab(46.67% 0.0735 -0.1773)
OKLCHoklch(46.67% 0.192 292.5)
XYZxyz(15.1577, 8.8313, 46.7955)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237B9 #8EB937
analogous
#374DB9 #6237B9 #A337B9
triadic
#6237B9 #B96237 #37B962
tetradic
#6237B9 #B9374D #8EB937 #37B9A3
square
#6237B9 #B9374D #8EB937 #37B9A3
split-complementary
#6237B9 #B9A337 #4DB937
monochromatic
#301B5B #49298A #6237B9 #835ECF #A88DDD

Accessibility & contrast

On white

7.59
#6237B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6237B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237B9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237B9#FFFFFF#000000##FFFFFF
##6237B91.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#475874
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6237b9;
/* rgb */ color: rgb(98, 55, 185);
/* oklch */ color: oklch(46.7% 0.192 292.5);
Tailwind
colors: {
  custom: {
    50: '#9671cf',
    500: '#6237b9',
    950: '#000000',
  },
}
SCSS
$custom: #6237b9;
$custom-light: #9671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6237b9",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 259.846,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.19191,
    "h": 292.5
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#6237B9
secondary
#B1C884
accent
#DE4AAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6237B9

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

Preview Lab → · Contrast checker → · Palette generator →

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