#270B44#270B44

#270B44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.100 H 301.2°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#270B44
RGBrgb(39, 11, 68)
HSLhsl(269, 72%, 15%)
HSVhsv(269, 84%, 27%)
CMYKcmyk(42.6%, 83.8%, 0%, 73.3%)
CIE-LABlab(9.70, 27.23, -29.94)
CIE-LCHlch(9.70, 40.47, 312.29°)
OKLaboklab(23.38% 0.0518 -0.0854)
OKLCHoklch(23.38% 0.1 301.2)
XYZxyz(1.9995, 1.0880, 5.5724)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B44 #28440B
analogous
#0B0B44 #270B44 #430B44
triadic
#270B44 #44270B #0B4427
tetradic
#270B44 #440B0B #28440B #0B4443
square
#270B44 #440B0B #28440B #0B4443
split-complementary
#270B44 #44430B #0B440B
monochromatic
#0F041A #0F041A #270B44 #451479 #631CAD

Accessibility & contrast

On white

17.25
#270B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#270B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270B44
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B44#FFFFFF#000000##FFFFFF
##270B441.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#211A27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270b44;
/* rgb */ color: rgb(39, 11, 68);
/* oklch */ color: oklch(23.4% 0.100 301.2);
Tailwind
colors: {
  custom: {
    50: '#654d78',
    500: '#270b44',
    950: '#000000',
  },
}
SCSS
$custom: #270b44;
$custom-light: #654d78;
$custom-dark: #000000;
JSON
{
  "hex": "#270b44",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 269.474,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23384,
    "c": 0.09991,
    "h": 301.2
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#270B44
secondary
#56812A
accent
#EF3995
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270B44

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

Preview Lab → · Contrast checker → · Palette generator →

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