#370F55#370F55

#370F55 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.119 H 305.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#370F55
RGBrgb(55, 15, 85)
HSLhsl(274, 70%, 20%)
HSVhsv(274, 82%, 33%)
CMYKcmyk(35.3%, 82.4%, 0%, 66.7%)
CIE-LABlab(14.46, 33.24, -33.84)
CIE-LCHlch(14.46, 47.44, 314.49°)
OKLaboklab(27.75% 0.0696 -0.0963)
OKLCHoklch(27.75% 0.119 305.8)
XYZxyz(3.3857, 1.8098, 8.7635)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F55 #2D550F
analogous
#140F55 #370F55 #550F50
triadic
#370F55 #55370F #0F5537
tetradic
#370F55 #55140F #2D550F #0F5055
square
#370F55 #55140F #2D550F #0F5055
split-complementary
#370F55 #50550F #0F5514
monochromatic
#11051A #150621 #370F55 #591889 #7A21BD

Accessibility & contrast

On white

15.42
#370F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#370F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F55
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F55#FFFFFF#000000##FFFFFF
##370F551.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#322131
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370f55;
/* rgb */ color: rgb(55, 15, 85);
/* oklch */ color: oklch(27.8% 0.119 305.8);
Tailwind
colors: {
  custom: {
    50: '#725285',
    500: '#370f55',
    950: '#000000',
  },
}
SCSS
$custom: #370f55;
$custom-light: #725285;
$custom-dark: #000000;
JSON
{
  "hex": "#370f55",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 274.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27754,
    "c": 0.11879,
    "h": 305.8
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#370F55
secondary
#598F31
accent
#ED3B87
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F55

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

Preview Lab → · Contrast checker → · Palette generator →

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