#6237B0#6237B0

#6237B0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.181 H 294.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6237B0
RGBrgb(98, 55, 176)
HSLhsl(261, 52%, 45%)
HSVhsv(261, 69%, 69%)
CMYKcmyk(44.3%, 68.8%, 0%, 31%)
CIE-LABlab(34.93, 46.02, -57.72)
CIE-LCHlch(34.93, 73.82, 308.56°)
OKLaboklab(45.92% 0.0751 -0.1651)
OKLCHoklch(45.92% 0.181 294.4)
XYZxyz(14.2375, 8.4633, 41.9493)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237B0 #85B037
analogous
#3749B0 #6237B0 #9E37B0
triadic
#6237B0 #B06237 #37B062
tetradic
#6237B0 #B03749 #85B037 #37B09E
square
#6237B0 #B03749 #85B037 #37B09E
split-complementary
#6237B0 #B09E37 #49B037
monochromatic
#2E1A53 #482881 #6237B0 #8259CB #A588DA

Accessibility & contrast

On white

7.80
#6237B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6237B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237B0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237B0#FFFFFF#000000##FFFFFF
##6237B01.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#4C556F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6237b0;
/* rgb */ color: rgb(98, 55, 176);
/* oklch */ color: oklch(45.9% 0.181 294.4);
Tailwind
colors: {
  custom: {
    50: '#9571c8',
    500: '#6237b0',
    950: '#000000',
  },
}
SCSS
$custom: #6237b0;
$custom-light: #9571c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6237b0",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 261.322,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18136,
    "h": 294.4
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#6237B0
secondary
#ABC47F
accent
#DC4CA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6237B0

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

Preview Lab → · Contrast checker → · Palette generator →

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