#27043A#27043A

#27043A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.098 H 310.0°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#27043A
RGBrgb(39, 4, 58)
HSLhsl(279, 87%, 12%)
HSVhsv(279, 93%, 23%)
CMYKcmyk(32.8%, 93.1%, 0%, 77.3%)
CIE-LABlab(7.44, 28.26, -26.48)
CIE-LCHlch(7.44, 38.73, 316.86°)
OKLaboklab(21.49% 0.0631 -0.0753)
OKLCHoklch(21.49% 0.098 310)
XYZxyz(1.6437, 0.8237, 4.0746)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27043A #173A04
analogous
#0C043A #27043A #3A0432
triadic
#27043A #3A2704 #043A27
tetradic
#27043A #3A0C04 #173A04 #04323A
square
#27043A #3A0C04 #173A04 #04323A
split-complementary
#27043A #323A04 #043A0C
monochromatic
#13021D #13021D #27043A #4D0873 #740CAD

Accessibility & contrast

On white

18.03
#27043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#27043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27043A
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27043A#FFFFFF#000000##FFFFFF
##27043A1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#24111F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #27043a;
/* rgb */ color: rgb(39, 4, 58);
/* oklch */ color: oklch(21.5% 0.098 310.0);
Tailwind
colors: {
  custom: {
    50: '#644971',
    500: '#27043a',
    950: '#000000',
  },
}
SCSS
$custom: #27043a;
$custom-light: #644971;
$custom-dark: #000000;
JSON
{
  "hex": "#27043a",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 278.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2149,
    "c": 0.09826,
    "h": 310
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#27043A
secondary
#3F7C1E
accent
#FD2B75
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #27043A

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

Preview Lab → · Contrast checker → · Palette generator →

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