#270447#270447

#270447 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.112 H 301.2°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#270447
RGBrgb(39, 4, 71)
HSLhsl(271, 89%, 15%)
HSVhsv(271, 94%, 28%)
CMYKcmyk(45.1%, 94.4%, 0%, 72.2%)
CIE-LABlab(8.77, 31.69, -33.58)
CIE-LCHlch(8.77, 46.17, 313.33°)
OKLaboklab(22.83% 0.0581 -0.0961)
OKLCHoklch(22.83% 0.112 301.2)
XYZxyz(2.0172, 0.9731, 6.0416)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270447 #244704
analogous
#050447 #270447 #470446
triadic
#270447 #472704 #044727
tetradic
#270447 #470504 #244704 #044647
square
#270447 #470504 #244704 #044647
split-complementary
#270447 #464704 #044705
monochromatic
#10021D #10021D #270447 #470781 #670BBB

Accessibility & contrast

On white

17.58
#270447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#270447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270447
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270447#FFFFFF#000000##FFFFFF
##2704471.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#201727
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270447;
/* rgb */ color: rgb(39, 4, 71);
/* oklch */ color: oklch(22.8% 0.112 301.2);
Tailwind
colors: {
  custom: {
    50: '#664a7b',
    500: '#270447',
    950: '#000000',
  },
}
SCSS
$custom: #270447;
$custom-light: #664a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#270447",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 271.343,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22826,
    "c": 0.11228,
    "h": 301.2
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#270447
secondary
#51881F
accent
#FF298F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #270447

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

Preview Lab → · Contrast checker → · Palette generator →

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