#6237C3#6237C3

#6237C3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.203 H 290.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6237C3
RGBrgb(98, 55, 195)
HSLhsl(258, 56%, 49%)
HSVhsv(258, 72%, 76%)
CMYKcmyk(49.7%, 71.8%, 0%, 23.5%)
CIE-LABlab(36.50, 51.23, -66.37)
CIE-LCHlch(36.50, 83.85, 307.67°)
OKLaboklab(47.53% 0.0715 -0.1905)
OKLCHoklch(47.53% 0.203 290.6)
XYZxyz(16.2507, 9.2685, 52.5519)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237C3 #98C337
analogous
#3752C3 #6237C3 #A837C3
triadic
#6237C3 #C36237 #37C362
tetradic
#6237C3 #C33752 #98C337 #37C3A8
square
#6237C3 #C33752 #98C337 #37C3A8
split-complementary
#6237C3 #C3A837 #52C337
monochromatic
#321C64 #4A2A93 #6237C3 #8664D3 #AB94E1

Accessibility & contrast

On white

7.36
#6237C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6237C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237C3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237C3#FFFFFF#000000##FFFFFF
##6237C31.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#415C79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6237c3;
/* rgb */ color: rgb(98, 55, 195);
/* oklch */ color: oklch(47.5% 0.203 290.6);
Tailwind
colors: {
  custom: {
    50: '#9872d6',
    500: '#6237c3',
    950: '#000000',
  },
}
SCSS
$custom: #6237c3;
$custom-light: #9872d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6237c3",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 258.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.20348,
    "h": 290.6
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#6237C3
secondary
#B8CC8A
accent
#DF49B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6237C3

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

Preview Lab → · Contrast checker → · Palette generator →

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