#371065#371065

#371065 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.136 H 298.1°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#371065
RGBrgb(55, 16, 101)
HSLhsl(268, 73%, 23%)
HSVhsv(268, 84%, 40%)
CMYKcmyk(45.5%, 84.2%, 0%, 60.4%)
CIE-LABlab(16.12, 37.05, -41.84)
CIE-LCHlch(16.12, 55.89, 311.53°)
OKLaboklab(29.38% 0.0639 -0.1198)
OKLCHoklch(29.38% 0.136 298.1)
XYZxyz(4.1092, 2.1223, 12.5025)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371065 #3E6510
analogous
#101465 #371065 #611065
triadic
#371065 #653710 #106537
tetradic
#371065 #651014 #3E6510 #106561
square
#371065 #651014 #3E6510 #106561
split-complementary
#371065 #656110 #146510
monochromatic
#0E041A #1A0830 #371065 #54189A #7121CF

Accessibility & contrast

On white

14.74
#371065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371065
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371065#FFFFFF#000000##FFFFFF
##3710651.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#2B283B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371065;
/* rgb */ color: rgb(55, 16, 101);
/* oklch */ color: oklch(29.4% 0.136 298.1);
Tailwind
colors: {
  custom: {
    50: '#735492',
    500: '#371065',
    950: '#000000',
  },
}
SCSS
$custom: #371065;
$custom-light: #735492;
$custom-dark: #000000;
JSON
{
  "hex": "#371065",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 267.529,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29381,
    "c": 0.13574,
    "h": 298.1
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#371065
secondary
#6D9D33
accent
#EF389B
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371065

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

Preview Lab → · Contrast checker → · Palette generator →

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