#370C53#370C53

#370C53 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.120 H 307.5°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#370C53
RGBrgb(55, 12, 83)
HSLhsl(276, 75%, 19%)
HSVhsv(276, 86%, 33%)
CMYKcmyk(33.7%, 85.5%, 0%, 67.5%)
CIE-LABlab(13.83, 34.03, -33.51)
CIE-LCHlch(13.83, 47.76, 315.44°)
OKLaboklab(27.26% 0.073 -0.0953)
OKLCHoklch(27.26% 0.12 307.5)
XYZxyz(3.2680, 1.6997, 8.3379)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C53 #28530C
analogous
#130C53 #370C53 #530C4B
triadic
#370C53 #53370C #0C5337
tetradic
#370C53 #53130C #28530C #0C4B53
square
#370C53 #53130C #28530C #0C4B53
split-complementary
#370C53 #4B530C #0C5313
monochromatic
#12041B #14041E #370C53 #5A1488 #7E1BBE

Accessibility & contrast

On white

15.67
#370C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#370C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370C53
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C53#FFFFFF#000000##FFFFFF
##370C531.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#321E30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370c53;
/* rgb */ color: rgb(55, 12, 83);
/* oklch */ color: oklch(27.3% 0.120 307.5);
Tailwind
colors: {
  custom: {
    50: '#725184',
    500: '#370c53',
    950: '#000000',
  },
}
SCSS
$custom: #370c53;
$custom-light: #725184;
$custom-dark: #000000;
JSON
{
  "hex": "#370c53",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 276.338,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27256,
    "c": 0.12004,
    "h": 307.5
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#370C53
secondary
#538E2D
accent
#F13680
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370C53

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

Preview Lab → · Contrast checker → · Palette generator →

#370C53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva