#371259#371259

#371259 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.120 H 303.2°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#371259
RGBrgb(55, 18, 89)
HSLhsl(271, 66%, 21%)
HSVhsv(271, 80%, 35%)
CMYKcmyk(38.2%, 79.8%, 0%, 65.1%)
CIE-LABlab(15.31, 32.88, -35.16)
CIE-LCHlch(15.31, 48.14, 313.08°)
OKLaboklab(28.47% 0.0654 -0.1002)
OKLCHoklch(28.47% 0.12 303.2)
XYZxyz(3.5946, 1.9661, 9.6394)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371259 #345912
analogous
#141259 #371259 #591257
triadic
#371259 #593712 #125937
tetradic
#371259 #591412 #345912 #125759
square
#371259 #591412 #345912 #125759
split-complementary
#371259 #575912 #125914
monochromatic
#100519 #180826 #371259 #561C8C #7627BF

Accessibility & contrast

On white

15.07
#371259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371259
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371259#FFFFFF#000000##FFFFFF
##3712591.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#302434
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371259;
/* rgb */ color: rgb(55, 18, 89);
/* oklch */ color: oklch(28.5% 0.120 303.2);
Tailwind
colors: {
  custom: {
    50: '#725488',
    500: '#371259',
    950: '#000000',
  },
}
SCSS
$custom: #371259;
$custom-light: #725488;
$custom-dark: #000000;
JSON
{
  "hex": "#371259",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 271.268,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.11967,
    "h": 303.2
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#371259
secondary
#619235
accent
#E93F90
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371259

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

Preview Lab → · Contrast checker → · Palette generator →

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