#27043F#27043F

#27043F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.104 H 306.3°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#27043F
RGBrgb(39, 4, 63)
HSLhsl(276, 88%, 13%)
HSVhsv(276, 94%, 25%)
CMYKcmyk(38.1%, 93.7%, 0%, 75.3%)
CIE-LABlab(7.92, 29.59, -29.29)
CIE-LCHlch(7.92, 41.64, 315.29°)
OKLaboklab(21.99% 0.0614 -0.0835)
OKLCHoklch(21.99% 0.104 306.3)
XYZxyz(1.7771, 0.8771, 4.7773)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27043F #1C3F04
analogous
#09043F #27043F #3F0439
triadic
#27043F #3F2704 #043F27
tetradic
#27043F #3F0904 #1C3F04 #04393F
square
#27043F #3F0904 #1C3F04 #04393F
split-complementary
#27043F #393F04 #043F09
monochromatic
#12021D #12021D #27043F #4B0879 #6E0BB2

Accessibility & contrast

On white

17.87
#27043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#27043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27043F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27043F#FFFFFF#000000##FFFFFF
##27043F1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#231422
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #27043f;
/* rgb */ color: rgb(39, 4, 63);
/* oklch */ color: oklch(22.0% 0.104 306.3);
Tailwind
colors: {
  custom: {
    50: '#654975',
    500: '#27043f',
    950: '#000000',
  },
}
SCSS
$custom: #27043f;
$custom-light: #654975;
$custom-dark: #000000;
JSON
{
  "hex": "#27043f",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 275.593,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21987,
    "c": 0.10362,
    "h": 306.3
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#27043F
secondary
#46801E
accent
#FE2A80
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #27043F

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

Preview Lab → · Contrast checker → · Palette generator →

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