#27073B#27073B

#27073B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.095 H 308.4°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#27073B
RGBrgb(39, 7, 59)
HSLhsl(277, 79%, 13%)
HSVhsv(277, 88%, 23%)
CMYKcmyk(33.9%, 88.1%, 0%, 76.9%)
CIE-LABlab(8.12, 26.84, -26.10)
CIE-LCHlch(8.12, 37.44, 315.80°)
OKLaboklab(22.01% 0.0588 -0.0741)
OKLCHoklch(22.01% 0.095 308.4)
XYZxyz(1.7019, 0.8991, 4.2207)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27073B #1B3B07
analogous
#0D073B #27073B #3B0735
triadic
#27073B #3B2707 #073B27
tetradic
#27073B #3B0D07 #1B3B07 #07353B
square
#27073B #3B0D07 #1B3B07 #07353B
split-complementary
#27073B #353B07 #073B0D
monochromatic
#12031B #12031B #27073B #4B0D72 #6F14A8

Accessibility & contrast

On white

17.80
#27073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27073B
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27073B#FFFFFF#000000##FFFFFF
##27073B1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#241421
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #27073b;
/* rgb */ color: rgb(39, 7, 59);
/* oklch */ color: oklch(22.0% 0.095 308.4);
Tailwind
colors: {
  custom: {
    50: '#644a71',
    500: '#27073b',
    950: '#000000',
  },
}
SCSS
$custom: #27073b;
$custom-light: #644a71;
$custom-dark: #000000;
JSON
{
  "hex": "#27073b",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 276.923,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22005,
    "c": 0.09462,
    "h": 308.4
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#27073B
secondary
#457A23
accent
#F5337D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #27073B

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

Preview Lab → · Contrast checker → · Palette generator →

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