#6237A0#6237A0

#6237A0 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.162 H 298.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6237A0
RGBrgb(98, 55, 160)
HSLhsl(265, 49%, 42%)
HSVhsv(265, 66%, 63%)
CMYKcmyk(38.8%, 65.6%, 0%, 37.3%)
CIE-LABlab(33.70, 41.69, -50.12)
CIE-LCHlch(33.70, 65.19, 309.75°)
OKLaboklab(44.66% 0.0772 -0.1427)
OKLCHoklch(44.66% 0.162 298.4)
XYZxyz(12.7468, 7.8669, 34.0978)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237A0 #75A037
analogous
#3741A0 #6237A0 #9637A0
triadic
#6237A0 #A06237 #37A062
tetradic
#6237A0 #A03741 #75A037 #37A096
square
#6237A0 #A03741 #75A037 #37A096
split-complementary
#6237A0 #A09637 #41A037
monochromatic
#2A1845 #462772 #6237A0 #8051C3 #A17FD3

Accessibility & contrast

On white

8.16
#6237A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6237A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237A0
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237A0#FFFFFF#000000##FFFFFF
##6237A01.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#534F66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6237a0;
/* rgb */ color: rgb(98, 55, 160);
/* oklch */ color: oklch(44.7% 0.162 298.4);
Tailwind
colors: {
  custom: {
    50: '#9370bd',
    500: '#6237a0',
    950: '#000000',
  },
}
SCSS
$custom: #6237a0;
$custom-light: #9370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6237a0",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 264.571,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.16227,
    "h": 298.4
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#6237A0
secondary
#A0BC77
accent
#D84FA0
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6237A0

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

Preview Lab → · Contrast checker → · Palette generator →

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