#371965#371965

#371965 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.125 H 296.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#371965
RGBrgb(55, 25, 101)
HSLhsl(264, 60%, 25%)
HSVhsv(264, 75%, 40%)
CMYKcmyk(45.5%, 75.2%, 0%, 60.4%)
CIE-LABlab(17.68, 32.61, -39.29)
CIE-LCHlch(17.68, 51.05, 309.69°)
OKLaboklab(30.48% 0.0552 -0.1124)
OKLCHoklch(30.48% 0.125 296.2)
XYZxyz(4.2715, 2.4470, 12.5567)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371965 #476519
analogous
#192165 #371965 #5D1965
triadic
#371965 #653719 #196537
tetradic
#371965 #651921 #476519 #19655D
square
#371965 #651921 #476519 #19655D
split-complementary
#371965 #655D19 #216519
monochromatic
#0D0619 #1C0D34 #371965 #522596 #6C31C7

Accessibility & contrast

On white

14.10
#371965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371965
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371965#FFFFFF#000000##FFFFFF
##3719651.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#2B2C3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371965;
/* rgb */ color: rgb(55, 25, 101);
/* oklch */ color: oklch(30.5% 0.125 296.2);
Tailwind
colors: {
  custom: {
    50: '#735892',
    500: '#371965',
    950: '#000000',
  },
}
SCSS
$custom: #371965;
$custom-light: #735892;
$custom-dark: #000000;
JSON
{
  "hex": "#371965",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 263.684,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30478,
    "c": 0.12519,
    "h": 296.2
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#371965
secondary
#779B3F
accent
#E344A5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371965

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

Preview Lab → · Contrast checker → · Palette generator →

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