#270B43#270B43

#270B43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.099 H 301.8°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#270B43
RGBrgb(39, 11, 67)
HSLhsl(270, 72%, 15%)
HSVhsv(270, 84%, 26%)
CMYKcmyk(41.8%, 83.6%, 0%, 73.7%)
CIE-LABlab(9.61, 26.95, -29.39)
CIE-LCHlch(9.61, 39.87, 312.52°)
OKLaboklab(23.29% 0.0521 -0.0838)
OKLCHoklch(23.29% 0.099 301.8)
XYZxyz(1.9692, 1.0759, 5.4130)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B43 #27430B
analogous
#0B0B43 #270B43 #430B43
triadic
#270B43 #43270B #0B4327
tetradic
#270B43 #430B0B #27430B #0B4343
square
#270B43 #430B0B #27430B #0B4343
split-complementary
#270B43 #43430B #0B430B
monochromatic
#0F041A #0F041A #270B43 #461478 #641CAC

Accessibility & contrast

On white

17.28
#270B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B43
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B43#FFFFFF#000000##FFFFFF
##270B431.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001A42
Tritanopia (blue-blind)
#211926
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270b43;
/* rgb */ color: rgb(39, 11, 67);
/* oklch */ color: oklch(23.3% 0.099 301.8);
Tailwind
colors: {
  custom: {
    50: '#654d78',
    500: '#270b43',
    950: '#000000',
  },
}
SCSS
$custom: #270b43;
$custom-light: #654d78;
$custom-dark: #000000;
JSON
{
  "hex": "#270b43",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 270,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23287,
    "c": 0.09867,
    "h": 301.8
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#270B43
secondary
#55802A
accent
#EF3994
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270B43

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

Preview Lab → · Contrast checker → · Palette generator →

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