#6237B3#6237B3

#6237B3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.185 H 293.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6237B3
RGBrgb(98, 55, 179)
HSLhsl(261, 53%, 46%)
HSVhsv(261, 69%, 70%)
CMYKcmyk(45.3%, 69.3%, 0%, 29.8%)
CIE-LABlab(35.17, 46.84, -59.11)
CIE-LCHlch(35.17, 75.42, 308.39°)
OKLaboklab(46.17% 0.0746 -0.1692)
OKLCHoklch(46.17% 0.185 293.8)
XYZxyz(14.5377, 8.5833, 43.5299)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237B3 #88B337
analogous
#374AB3 #6237B3 #A037B3
triadic
#6237B3 #B36237 #37B362
tetradic
#6237B3 #B3374A #88B337 #37B3A0
square
#6237B3 #B3374A #88B337 #37B3A0
split-complementary
#6237B3 #B3A037 #4AB337
monochromatic
#2F1A55 #482984 #6237B3 #825BCD #A68ADB

Accessibility & contrast

On white

7.73
#6237B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6237B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237B3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237B3#FFFFFF#000000##FFFFFF
##6237B31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#4B5671
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6237b3;
/* rgb */ color: rgb(98, 55, 179);
/* oklch */ color: oklch(46.2% 0.185 293.8);
Tailwind
colors: {
  custom: {
    50: '#9671cb',
    500: '#6237b3',
    950: '#000000',
  },
}
SCSS
$custom: #6237b3;
$custom-light: #9671cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6237b3",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 260.806,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.18489,
    "h": 293.8
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#6237B3
secondary
#ADC581
accent
#DC4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6237B3

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

Preview Lab → · Contrast checker → · Palette generator →

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