#270441#270441

#270441 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.106 H 305.0°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#270441
RGBrgb(39, 4, 65)
HSLhsl(274, 88%, 14%)
HSVhsv(274, 94%, 25%)
CMYKcmyk(40%, 93.8%, 0%, 74.5%)
CIE-LABlab(8.13, 30.11, -30.39)
CIE-LCHlch(8.13, 42.78, 314.74°)
OKLaboklab(22.19% 0.0606 -0.0867)
OKLCHoklch(22.19% 0.106 305)
XYZxyz(1.8340, 0.8998, 5.0771)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270441 #1E4104
analogous
#080441 #270441 #41043C
triadic
#270441 #412704 #044127
tetradic
#270441 #410804 #1E4104 #043C41
square
#270441 #410804 #1E4104 #043C41
split-complementary
#270441 #3C4104 #044108
monochromatic
#11021D #11021D #270441 #4A087B #6C0BB4

Accessibility & contrast

On white

17.80
#270441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#270441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270441
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270441#FFFFFF#000000##FFFFFF
##2704411.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#221523
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270441;
/* rgb */ color: rgb(39, 4, 65);
/* oklch */ color: oklch(22.2% 0.106 305.0);
Tailwind
colors: {
  custom: {
    50: '#654976',
    500: '#270441',
    950: '#000000',
  },
}
SCSS
$custom: #270441;
$custom-light: #654976;
$custom-dark: #000000;
JSON
{
  "hex": "#270441",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 274.426,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22192,
    "c": 0.10578,
    "h": 305
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#270441
secondary
#49821F
accent
#FF2984
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #270441

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

Preview Lab → · Contrast checker → · Palette generator →

#270441 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva