#6237C0#6237C0

#6237C0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.200 H 291.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6237C0
RGBrgb(98, 55, 192)
HSLhsl(259, 55%, 48%)
HSVhsv(259, 71%, 75%)
CMYKcmyk(49%, 71.4%, 0%, 24.7%)
CIE-LABlab(36.24, 50.41, -65.03)
CIE-LCHlch(36.24, 82.28, 307.78°)
OKLaboklab(47.27% 0.0721 -0.1866)
OKLCHoklch(47.27% 0.2 291.1)
XYZxyz(15.9149, 9.1342, 50.7835)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237C0 #95C037
analogous
#3750C0 #6237C0 #A637C0
triadic
#6237C0 #C06237 #37C062
tetradic
#6237C0 #C03750 #95C037 #37C0A6
square
#6237C0 #C03750 #95C037 #37C0A6
split-complementary
#6237C0 #C0A637 #50C037
monochromatic
#311C61 #4A2990 #6237C0 #8562D2 #AA92E0

Accessibility & contrast

On white

7.43
#6237C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6237C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237C0
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237C0#FFFFFF#000000##FFFFFF
##6237C01.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#435B78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6237c0;
/* rgb */ color: rgb(98, 55, 192);
/* oklch */ color: oklch(47.3% 0.200 291.1);
Tailwind
colors: {
  custom: {
    50: '#9772d4',
    500: '#6237c0',
    950: '#000000',
  },
}
SCSS
$custom: #6237c0;
$custom-light: #9772d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6237c0",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 258.832,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47265,
    "c": 0.20003,
    "h": 291.1
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#6237C0
secondary
#B6CB88
accent
#DF49B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6237C0

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

Preview Lab → · Contrast checker → · Palette generator →

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