#270E44#270E44

#270E44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.096 H 300.3°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#270E44
RGBrgb(39, 14, 68)
HSLhsl(268, 66%, 16%)
HSVhsv(268, 79%, 27%)
CMYKcmyk(42.6%, 79.4%, 0%, 73.3%)
CIE-LABlab(10.28, 25.61, -29.00)
CIE-LCHlch(10.28, 38.69, 311.45°)
OKLaboklab(23.79% 0.0484 -0.0827)
OKLCHoklch(23.79% 0.096 300.3)
XYZxyz(2.0369, 1.1627, 5.5848)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E44 #2B440E
analogous
#0E1044 #270E44 #420E44
triadic
#270E44 #44270E #0E4427
tetradic
#270E44 #440E10 #2B440E #0E4442
square
#270E44 #440E10 #2B440E #0E4442
split-complementary
#270E44 #44420E #10440E
monochromatic
#0F0519 #0F0519 #270E44 #441877 #6123AA

Accessibility & contrast

On white

17.04
#270E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#270E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E44
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E44#FFFFFF#000000##FFFFFF
##270E441.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270e44;
/* rgb */ color: rgb(39, 14, 68);
/* oklch */ color: oklch(23.8% 0.096 300.3);
Tailwind
colors: {
  custom: {
    50: '#644f78',
    500: '#270e44',
    950: '#000000',
  },
}
SCSS
$custom: #270e44;
$custom-light: #644f78;
$custom-dark: #000000;
JSON
{
  "hex": "#270e44",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 267.778,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23791,
    "c": 0.09582,
    "h": 300.3
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#270E44
secondary
#5A7F2F
accent
#E93F9A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #270E44

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

Preview Lab → · Contrast checker → · Palette generator →

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