#270F44#270F44

#270F44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.094 H 300.0°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#270F44
RGBrgb(39, 15, 68)
HSLhsl(267, 64%, 16%)
HSVhsv(267, 78%, 27%)
CMYKcmyk(42.6%, 77.9%, 0%, 73.3%)
CIE-LABlab(10.49, 25.03, -28.67)
CIE-LCHlch(10.49, 38.06, 311.13°)
OKLaboklab(23.94% 0.0472 -0.0817)
OKLCHoklch(23.94% 0.094 300)
XYZxyz(2.0507, 1.1903, 5.5894)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F44 #2C440F
analogous
#0F1244 #270F44 #420F44
triadic
#270F44 #44270F #0F4427
tetradic
#270F44 #440F12 #2C440F #0F4442
square
#270F44 #440F12 #2C440F #0F4442
split-complementary
#270F44 #44420F #12440F
monochromatic
#0E0619 #0E0619 #270F44 #441A76 #6125A8

Accessibility & contrast

On white

16.96
#270F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#270F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F44
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F44#FFFFFF#000000##FFFFFF
##270F441.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#201C28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #270f44;
/* rgb */ color: rgb(39, 15, 68);
/* oklch */ color: oklch(23.9% 0.094 300.0);
Tailwind
colors: {
  custom: {
    50: '#644f78',
    500: '#270f44',
    950: '#000000',
  },
}
SCSS
$custom: #270f44;
$custom-light: #644f78;
$custom-dark: #000000;
JSON
{
  "hex": "#270f44",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 267.17,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23938,
    "c": 0.09436,
    "h": 300
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#270F44
secondary
#5B7E30
accent
#E7419C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #270F44

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

Preview Lab → · Contrast checker → · Palette generator →

#270F44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva