#371260#371260

#371260 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.128 H 299.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#371260
RGBrgb(55, 18, 96)
HSLhsl(268, 68%, 22%)
HSVhsv(268, 81%, 38%)
CMYKcmyk(42.7%, 81.3%, 0%, 62.4%)
CIE-LABlab(15.95, 34.78, -38.80)
CIE-LCHlch(15.95, 52.11, 311.88°)
OKLaboklab(29.12% 0.0636 -0.1109)
OKLCHoklch(29.12% 0.128 299.8)
XYZxyz(3.9026, 2.0893, 11.2617)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371260 #3B6012
analogous
#121460 #371260 #5E1260
triadic
#371260 #603712 #126037
tetradic
#371260 #601214 #3B6012 #12605E
square
#371260 #601214 #3B6012 #12605E
split-complementary
#371260 #605E12 #146012
monochromatic
#0F051A #19082C #371260 #551C94 #7225C7

Accessibility & contrast

On white

14.81
#371260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371260
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371260#FFFFFF#000000##FFFFFF
##3712601.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#2D2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371260;
/* rgb */ color: rgb(55, 18, 96);
/* oklch */ color: oklch(29.1% 0.128 299.8);
Tailwind
colors: {
  custom: {
    50: '#73548e',
    500: '#371260',
    950: '#000000',
  },
}
SCSS
$custom: #371260;
$custom-light: #73548e;
$custom-dark: #000000;
JSON
{
  "hex": "#371260",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 268.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29116,
    "c": 0.12783,
    "h": 299.8
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#371260
secondary
#699836
accent
#EB3D98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371260

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

Preview Lab → · Contrast checker → · Palette generator →

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