#27043C#27043C

#27043C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.100 H 308.5°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#27043C
RGBrgb(39, 4, 60)
HSLhsl(278, 88%, 13%)
HSVhsv(278, 93%, 24%)
CMYKcmyk(35%, 93.3%, 0%, 76.5%)
CIE-LABlab(7.63, 28.80, -27.62)
CIE-LCHlch(7.63, 39.91, 316.20°)
OKLaboklab(21.69% 0.0625 -0.0786)
OKLCHoklch(21.69% 0.1 308.5)
XYZxyz(1.6956, 0.8444, 4.3478)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27043C #193C04
analogous
#0B043C #27043C #3C0435
triadic
#27043C #3C2704 #043C27
tetradic
#27043C #3C0B04 #193C04 #04353C
square
#27043C #3C0B04 #193C04 #04353C
split-complementary
#27043C #353C04 #043C0B
monochromatic
#13021D #13021D #27043C #4C0875 #720CAF

Accessibility & contrast

On white

17.97
#27043C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27043C
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27043C#FFFFFF#000000##FFFFFF
##27043C1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#241220
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #27043c;
/* rgb */ color: rgb(39, 4, 60);
/* oklch */ color: oklch(21.7% 0.100 308.5);
Tailwind
colors: {
  custom: {
    50: '#644972',
    500: '#27043c',
    950: '#000000',
  },
}
SCSS
$custom: #27043c;
$custom-light: #644972;
$custom-dark: #000000;
JSON
{
  "hex": "#27043c",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 60
  },
  "hsl": {
    "h": 277.5,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21686,
    "c": 0.1004,
    "h": 308.5
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#27043C
secondary
#427E1E
accent
#FE2A79
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #27043C

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

Preview Lab → · Contrast checker → · Palette generator →

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