#371A65#371A65

#371A65 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.124 H 295.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#371A65
RGBrgb(55, 26, 101)
HSLhsl(263, 59%, 25%)
HSVhsv(263, 74%, 40%)
CMYKcmyk(45.5%, 74.3%, 0%, 60.4%)
CIE-LABlab(17.88, 32.05, -38.96)
CIE-LCHlch(17.88, 50.45, 309.44°)
OKLaboklab(30.62% 0.0541 -0.1114)
OKLCHoklch(30.62% 0.124 295.9)
XYZxyz(4.2933, 2.4905, 12.5639)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A65 #48651A
analogous
#1A2365 #371A65 #5D1A65
triadic
#371A65 #65371A #1A6537
tetradic
#371A65 #651A23 #48651A #1A655D
square
#371A65 #651A23 #48651A #1A655D
split-complementary
#371A65 #655D1A #23651A
monochromatic
#0D0618 #1C0D34 #371A65 #522796 #6C33C6

Accessibility & contrast

On white

14.02
#371A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A65
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A65#FFFFFF#000000##FFFFFF
##371A651.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2B2D3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371a65;
/* rgb */ color: rgb(55, 26, 101);
/* oklch */ color: oklch(30.6% 0.124 295.9);
Tailwind
colors: {
  custom: {
    50: '#735992',
    500: '#371a65',
    950: '#000000',
  },
}
SCSS
$custom: #371a65;
$custom-light: #735992;
$custom-dark: #000000;
JSON
{
  "hex": "#371a65",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 263.2,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30619,
    "c": 0.12387,
    "h": 295.9
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#371A65
secondary
#789B40
accent
#E246A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371A65

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

Preview Lab → · Contrast checker → · Palette generator →

#371A65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva