#371675#371675

#371675 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.148 H 291.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#371675
RGBrgb(55, 22, 117)
HSLhsl(261, 68%, 27%)
HSVhsv(261, 81%, 46%)
CMYKcmyk(53%, 81.2%, 0%, 54.1%)
CIE-LABlab(18.67, 38.80, -48.07)
CIE-LCHlch(18.67, 61.78, 308.91°)
OKLaboklab(31.65% 0.0536 -0.1381)
OKLCHoklch(31.65% 0.148 291.2)
XYZxyz(5.0724, 2.6702, 17.0743)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371675 #547516
analogous
#162575 #371675 #671675
triadic
#371675 #753716 #167537
tetradic
#371675 #751625 #547516 #167567
square
#371675 #751625 #547516 #167567
split-complementary
#371675 #756716 #257516
monochromatic
#0C051A #1F0C41 #371675 #4F20A9 #692ED8

Accessibility & contrast

On white

13.69
#371675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371675
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371675#FFFFFF#000000##FFFFFF
##3716751.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#213145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371675;
/* rgb */ color: rgb(55, 22, 117);
/* oklch */ color: oklch(31.6% 0.148 291.2);
Tailwind
colors: {
  custom: {
    50: '#75589e',
    500: '#371675',
    950: '#000000',
  },
}
SCSS
$custom: #371675;
$custom-light: #75589e;
$custom-dark: #000000;
JSON
{
  "hex": "#371675",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 260.842,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3165,
    "c": 0.14817,
    "h": 291.2
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#371675
secondary
#84AB3C
accent
#EB3DAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371675

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

Preview Lab → · Contrast checker → · Palette generator →

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