#371460#371460

#371460 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.125 H 299.4°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#371460
RGBrgb(55, 20, 96)
HSLhsl(268, 66%, 23%)
HSVhsv(268, 79%, 38%)
CMYKcmyk(42.7%, 79.2%, 0%, 62.4%)
CIE-LABlab(16.29, 33.81, -38.24)
CIE-LCHlch(16.29, 51.04, 311.48°)
OKLaboklab(29.36% 0.0616 -0.1092)
OKLCHoklch(29.36% 0.125 299.4)
XYZxyz(3.9365, 2.1570, 11.2730)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371460 #3D6014
analogous
#141760 #371460 #5D1460
triadic
#371460 #603714 #146037
tetradic
#371460 #601417 #3D6014 #14605D
square
#371460 #601417 #3D6014 #14605D
split-complementary
#371460 #605D14 #176014
monochromatic
#0F0519 #1A092D #371460 #541F93 #7129C5

Accessibility & contrast

On white

14.67
#371460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371460
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371460#FFFFFF#000000##FFFFFF
##3714601.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2D2839
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371460;
/* rgb */ color: rgb(55, 20, 96);
/* oklch */ color: oklch(29.4% 0.125 299.4);
Tailwind
colors: {
  custom: {
    50: '#72558e',
    500: '#371460',
    950: '#000000',
  },
}
SCSS
$custom: #371460;
$custom-light: #72558e;
$custom-dark: #000000;
JSON
{
  "hex": "#371460",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 267.632,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29356,
    "c": 0.12543,
    "h": 299.4
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#371460
secondary
#6C9838
accent
#E83F9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371460

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

Preview Lab → · Contrast checker → · Palette generator →

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