#370F68#370F68

#370F68 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.140 H 297.0°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#370F68
RGBrgb(55, 15, 104)
HSLhsl(267, 75%, 23%)
HSVhsv(267, 86%, 41%)
CMYKcmyk(47.1%, 85.6%, 0%, 59.2%)
CIE-LABlab(16.27, 38.29, -43.56)
CIE-LCHlch(16.27, 57.99, 311.31°)
OKLaboklab(29.58% 0.0636 -0.1248)
OKLCHoklch(29.58% 0.14 297)
XYZxyz(4.2444, 2.1533, 13.2860)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F68 #40680F
analogous
#0F1468 #370F68 #630F68
triadic
#370F68 #68370F #0F6837
tetradic
#370F68 #680F14 #40680F #0F6863
square
#370F68 #680F14 #40680F #0F6863
split-complementary
#370F68 #68630F #14680F
monochromatic
#0E041B #1B0733 #370F68 #53179D #701ED3

Accessibility & contrast

On white

14.68
#370F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#370F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F68
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F68#FFFFFF#000000##FFFFFF
##370F681.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#2A293C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #370f68;
/* rgb */ color: rgb(55, 15, 104);
/* oklch */ color: oklch(29.6% 0.140 297.0);
Tailwind
colors: {
  custom: {
    50: '#745394',
    500: '#370f68',
    950: '#000000',
  },
}
SCSS
$custom: #370f68;
$custom-light: #745394;
$custom-dark: #000000;
JSON
{
  "hex": "#370f68",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 266.966,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29581,
    "c": 0.14009,
    "h": 297
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#370F68
secondary
#6FA132
accent
#F1369D
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #370F68

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

Preview Lab → · Contrast checker → · Palette generator →

#370F68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva