#372783#372783

#372783 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.146 H 284.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#372783
RGBrgb(55, 39, 131)
HSLhsl(250, 54%, 33%)
HSVhsv(250, 70%, 51%)
CMYKcmyk(58%, 70.2%, 0%, 48.6%)
CIE-LABlab(23.34, 33.79, -49.32)
CIE-LCHlch(23.34, 59.79, 304.42°)
OKLaboklab(35.37% 0.0354 -0.1419)
OKLCHoklch(35.37% 0.146 284)
XYZxyz(6.3965, 3.9016, 21.8843)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372783 #738327
analogous
#274583 #372783 #652783
triadic
#372783 #833727 #278337
tetradic
#372783 #832745 #738327 #278365
square
#372783 #832745 #738327 #278365
split-complementary
#372783 #836527 #458327
monochromatic
#0F0B25 #231954 #372783 #4B35B2 #6C57CD

Accessibility & contrast

On white

11.80
#372783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372783
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372783#FFFFFF#000000##FFFFFF
##3727831.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#123F51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372783;
/* rgb */ color: rgb(55, 39, 131);
/* oklch */ color: oklch(35.4% 0.146 284.0);
Tailwind
colors: {
  custom: {
    50: '#7762a8',
    500: '#372783',
    950: '#000000',
  },
}
SCSS
$custom: #372783;
$custom-light: #7762a8;
$custom-dark: #000000;
JSON
{
  "hex": "#372783",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 250.435,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35371,
    "c": 0.14621,
    "h": 284
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#372783
secondary
#A2B254
accent
#DD4AC4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372783

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

Preview Lab → · Contrast checker → · Palette generator →

#372783 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva