#270944#270944

#270944 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.102 H 301.7°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#270944
RGBrgb(39, 9, 68)
HSLhsl(271, 77%, 15%)
HSVhsv(271, 87%, 27%)
CMYKcmyk(42.6%, 86.8%, 0%, 73.3%)
CIE-LABlab(9.35, 28.24, -30.51)
CIE-LCHlch(9.35, 41.57, 312.78°)
OKLaboklab(23.14% 0.0539 -0.0871)
OKLCHoklch(23.14% 0.102 301.7)
XYZxyz(1.9775, 1.0441, 5.5651)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270944 #264409
analogous
#090944 #270944 #440944
triadic
#270944 #442709 #094427
tetradic
#270944 #440909 #264409 #094444
square
#270944 #440909 #264409 #094444
split-complementary
#270944 #444409 #094409
monochromatic
#0F041B #0F041B #270944 #46107A #6517B0

Accessibility & contrast

On white

17.37
#270944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270944
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270944#FFFFFF#000000##FFFFFF
##2709441.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#211926
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270944;
/* rgb */ color: rgb(39, 9, 68);
/* oklch */ color: oklch(23.1% 0.102 301.7);
Tailwind
colors: {
  custom: {
    50: '#654c78',
    500: '#270944',
    950: '#000000',
  },
}
SCSS
$custom: #270944;
$custom-light: #654c78;
$custom-dark: #000000;
JSON
{
  "hex": "#270944",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 270.508,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23138,
    "c": 0.10243,
    "h": 301.7
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#270944
secondary
#548227
accent
#F33592
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270944

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

Preview Lab → · Contrast checker → · Palette generator →

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