#371265#371265

#371265 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.134 H 297.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#371265
RGBrgb(55, 18, 101)
HSLhsl(267, 70%, 23%)
HSVhsv(267, 82%, 40%)
CMYKcmyk(45.5%, 82.2%, 0%, 60.4%)
CIE-LABlab(16.43, 36.16, -41.33)
CIE-LCHlch(16.43, 54.91, 311.18°)
OKLaboklab(29.6% 0.0621 -0.1183)
OKLCHoklch(29.6% 0.134 297.7)
XYZxyz(4.1402, 2.1843, 12.5129)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371265 #406512
analogous
#121665 #371265 #601265
triadic
#371265 #653712 #126537
tetradic
#371265 #651216 #406512 #126560
square
#371265 #651216 #406512 #126560
split-complementary
#371265 #656012 #166512
monochromatic
#0E051A #1B0931 #371265 #531B99 #7025CD

Accessibility & contrast

On white

14.62
#371265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371265
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371265#FFFFFF#000000##FFFFFF
##3712651.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#2B293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371265;
/* rgb */ color: rgb(55, 18, 101);
/* oklch */ color: oklch(29.6% 0.134 297.7);
Tailwind
colors: {
  custom: {
    50: '#735592',
    500: '#371265',
    950: '#000000',
  },
}
SCSS
$custom: #371265;
$custom-light: #735592;
$custom-dark: #000000;
JSON
{
  "hex": "#371265",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 266.747,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29597,
    "c": 0.13363,
    "h": 297.7
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#371265
secondary
#6F9D36
accent
#ED3B9E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371265

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

Preview Lab → · Contrast checker → · Palette generator →

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