#27043B#27043B

#27043B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.099 H 309.2°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#27043B
RGBrgb(39, 4, 59)
HSLhsl(278, 87%, 12%)
HSVhsv(278, 93%, 23%)
CMYKcmyk(33.9%, 93.2%, 0%, 76.9%)
CIE-LABlab(7.53, 28.53, -27.05)
CIE-LCHlch(7.53, 39.32, 316.52°)
OKLaboklab(21.59% 0.0628 -0.0769)
OKLCHoklch(21.59% 0.099 309.2)
XYZxyz(1.6694, 0.8340, 4.2099)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27043B #183B04
analogous
#0C043B #27043B #3B0434
triadic
#27043B #3B2704 #043B27
tetradic
#27043B #3B0C04 #183B04 #04343B
square
#27043B #3B0C04 #183B04 #04343B
split-complementary
#27043B #343B04 #043B0C
monochromatic
#13021D #13021D #27043B #4D0874 #730CAE

Accessibility & contrast

On white

18.00
#27043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#27043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27043B
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27043B#FFFFFF#000000##FFFFFF
##27043B1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#241220
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #27043b;
/* rgb */ color: rgb(39, 4, 59);
/* oklch */ color: oklch(21.6% 0.099 309.2);
Tailwind
colors: {
  custom: {
    50: '#644971',
    500: '#27043b',
    950: '#000000',
  },
}
SCSS
$custom: #27043b;
$custom-light: #644971;
$custom-dark: #000000;
JSON
{
  "hex": "#27043b",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 278.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21588,
    "c": 0.09933,
    "h": 309.2
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#27043B
secondary
#407D1E
accent
#FD2A77
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #27043B

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

Preview Lab → · Contrast checker → · Palette generator →

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