#6237C4#6237C4

#6237C4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.205 H 290.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6237C4
RGBrgb(98, 55, 196)
HSLhsl(258, 56%, 49%)
HSVhsv(258, 72%, 77%)
CMYKcmyk(50%, 71.9%, 0%, 23.1%)
CIE-LABlab(36.58, 51.51, -66.82)
CIE-LCHlch(36.58, 84.37, 307.63°)
OKLaboklab(47.61% 0.0713 -0.1918)
OKLCHoklch(47.61% 0.205 290.4)
XYZxyz(16.3641, 9.3139, 53.1494)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237C4 #99C437
analogous
#3753C4 #6237C4 #A937C4
triadic
#6237C4 #C46237 #37C462
tetradic
#6237C4 #C43753 #99C437 #37C4A9
square
#6237C4 #C43753 #99C437 #37C4A9
split-complementary
#6237C4 #C4A937 #53C437
monochromatic
#321C64 #4A2A94 #6237C4 #8665D4 #AC94E1

Accessibility & contrast

On white

7.33
#6237C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6237C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237C4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237C4#FFFFFF#000000##FFFFFF
##6237C41.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#405C7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6237c4;
/* rgb */ color: rgb(98, 55, 196);
/* oklch */ color: oklch(47.6% 0.205 290.4);
Tailwind
colors: {
  custom: {
    50: '#9872d7',
    500: '#6237c4',
    950: '#000000',
  },
}
SCSS
$custom: #6237c4;
$custom-light: #9872d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6237c4",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 258.298,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.20463,
    "h": 290.4
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#6237C4
secondary
#B8CC8B
accent
#DF48B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6237C4

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

Preview Lab → · Contrast checker → · Palette generator →

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