#27073F#27073F

#27073F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.099 H 305.5°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#27073F
RGBrgb(39, 7, 63)
HSLhsl(274, 80%, 14%)
HSVhsv(274, 89%, 25%)
CMYKcmyk(38.1%, 88.9%, 0%, 75.3%)
CIE-LABlab(8.50, 27.91, -28.35)
CIE-LCHlch(8.50, 39.78, 314.55°)
OKLaboklab(22.39% 0.0577 -0.0807)
OKLCHoklch(22.39% 0.099 305.5)
XYZxyz(1.8097, 0.9422, 4.7882)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27073F #1F3F07
analogous
#0B073F #27073F #3F073B
triadic
#27073F #3F2707 #073F27
tetradic
#27073F #3F0B07 #1F3F07 #073B3F
square
#27073F #3F0B07 #1F3F07 #073B3F
split-complementary
#27073F #3B3F07 #073F0B
monochromatic
#11031C #11031C #27073F #490D76 #6B13AD

Accessibility & contrast

On white

17.67
#27073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#27073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27073F
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27073F#FFFFFF#000000##FFFFFF
##27073F1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#231523
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #27073f;
/* rgb */ color: rgb(39, 7, 63);
/* oklch */ color: oklch(22.4% 0.099 305.5);
Tailwind
colors: {
  custom: {
    50: '#644b75',
    500: '#27073f',
    950: '#000000',
  },
}
SCSS
$custom: #27073f;
$custom-light: #644b75;
$custom-dark: #000000;
JSON
{
  "hex": "#27073f",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 274.286,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22389,
    "c": 0.09923,
    "h": 305.5
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#27073F
secondary
#4A7E24
accent
#F63186
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #27073F

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

Preview Lab → · Contrast checker → · Palette generator →

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