#6237A3#6237A3

#6237A3 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.166 H 297.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6237A3
RGBrgb(98, 55, 163)
HSLhsl(264, 50%, 43%)
HSVhsv(264, 66%, 64%)
CMYKcmyk(39.9%, 66.3%, 0%, 36.1%)
CIE-LABlab(33.93, 42.49, -51.57)
CIE-LCHlch(33.93, 66.82, 309.49°)
OKLaboklab(44.89% 0.0768 -0.147)
OKLCHoklch(44.89% 0.166 297.6)
XYZxyz(13.0124, 7.9732, 35.4966)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237A3 #78A337
analogous
#3742A3 #6237A3 #9837A3
triadic
#6237A3 #A36237 #37A362
tetradic
#6237A3 #A33742 #78A337 #37A398
square
#6237A3 #A33742 #78A337 #37A398
split-complementary
#6237A3 #A39837 #42A337
monochromatic
#2B1847 #462875 #6237A3 #8052C5 #A280D4

Accessibility & contrast

On white

8.09
#6237A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6237A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237A3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237A3#FFFFFF#000000##FFFFFF
##6237A31.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#525068
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6237a3;
/* rgb */ color: rgb(98, 55, 163);
/* oklch */ color: oklch(44.9% 0.166 297.6);
Tailwind
colors: {
  custom: {
    50: '#9471bf',
    500: '#6237a3',
    950: '#000000',
  },
}
SCSS
$custom: #6237a3;
$custom-light: #9471bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6237a3",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 263.889,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.16588,
    "h": 297.6
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#6237A3
secondary
#A2BE78
accent
#D94FA2
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6237A3

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

Preview Lab → · Contrast checker → · Palette generator →

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