#371B65#371B65

#371B65 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.123 H 295.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#371B65
RGBrgb(55, 27, 101)
HSLhsl(263, 58%, 25%)
HSVhsv(263, 73%, 40%)
CMYKcmyk(45.5%, 73.3%, 0%, 60.4%)
CIE-LABlab(18.08, 31.49, -38.63)
CIE-LCHlch(18.08, 49.84, 309.18°)
OKLaboklab(30.76% 0.053 -0.1104)
OKLCHoklch(30.76% 0.123 295.6)
XYZxyz(4.3158, 2.5356, 12.5714)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371B65 #49651B
analogous
#1B2465 #371B65 #5C1B65
triadic
#371B65 #65371B #1B6537
tetradic
#371B65 #651B24 #49651B #1B655C
square
#371B65 #651B24 #49651B #1B655C
split-complementary
#371B65 #655C1B #24651B
monochromatic
#0D0618 #1D0E35 #371B65 #512895 #6C35C6

Accessibility & contrast

On white

13.93
#371B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371B65
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371B65#FFFFFF#000000##FFFFFF
##371B651.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371b65;
/* rgb */ color: rgb(55, 27, 101);
/* oklch */ color: oklch(30.8% 0.123 295.6);
Tailwind
colors: {
  custom: {
    50: '#735a92',
    500: '#371b65',
    950: '#000000',
  },
}
SCSS
$custom: #371b65;
$custom-light: #735a92;
$custom-dark: #000000;
JSON
{
  "hex": "#371b65",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 262.703,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30764,
    "c": 0.12251,
    "h": 295.6
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#371B65
secondary
#799A41
accent
#E147A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371B65

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

Preview Lab → · Contrast checker → · Palette generator →

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