#27073A#27073A

#27073A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.093 H 309.2°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#27073A
RGBrgb(39, 7, 58)
HSLhsl(278, 78%, 13%)
HSVhsv(278, 88%, 23%)
CMYKcmyk(32.8%, 87.9%, 0%, 77.3%)
CIE-LABlab(8.03, 26.58, -25.53)
CIE-LCHlch(8.03, 36.85, 316.15°)
OKLaboklab(21.91% 0.0591 -0.0724)
OKLCHoklch(21.91% 0.093 309.2)
XYZxyz(1.6762, 0.8888, 4.0854)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27073A #1A3A07
analogous
#0D073A #27073A #3A0733
triadic
#27073A #3A2707 #073A27
tetradic
#27073A #3A0D07 #1A3A07 #07333A
square
#27073A #3A0D07 #1A3A07 #07333A
split-complementary
#27073A #333A07 #073A0D
monochromatic
#12031B #12031B #27073A #4C0E71 #7014A7

Accessibility & contrast

On white

17.83
#27073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#27073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27073A
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27073A#FFFFFF#000000##FFFFFF
##27073A1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#241320
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #27073a;
/* rgb */ color: rgb(39, 7, 58);
/* oklch */ color: oklch(21.9% 0.093 309.2);
Tailwind
colors: {
  custom: {
    50: '#644a71',
    500: '#27073a',
    950: '#000000',
  },
}
SCSS
$custom: #27073a;
$custom-light: #644a71;
$custom-dark: #000000;
JSON
{
  "hex": "#27073a",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 277.647,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21911,
    "c": 0.09347,
    "h": 309.2
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#27073A
secondary
#437923
accent
#F5337B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #27073A

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

Preview Lab → · Contrast checker → · Palette generator →

#27073A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva