#270D4A#270D4A

#270D4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.105 H 297.2°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#270D4A
RGBrgb(39, 13, 74)
HSLhsl(266, 70%, 17%)
HSVhsv(266, 82%, 29%)
CMYKcmyk(47.3%, 82.4%, 0%, 71%)
CIE-LABlab(10.66, 27.94, -32.58)
CIE-LCHlch(10.66, 42.92, 310.62°)
OKLaboklab(24.24% 0.048 -0.0932)
OKLCHoklch(24.24% 0.105 297.2)
XYZxyz(2.2163, 1.2136, 6.5947)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D4A #304A0D
analogous
#0D114A #270D4A #460D4A
triadic
#270D4A #4A270D #0D4A27
tetradic
#270D4A #4A0D11 #304A0D #0D4A46
square
#270D4A #4A0D11 #304A0D #0D4A46
split-complementary
#270D4A #4A460D #114A0D
monochromatic
#0E051A #0E051A #270D4A #42167E #5E1FB2

Accessibility & contrast

On white

16.90
#270D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D4A
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D4A#FFFFFF#000000##FFFFFF
##270D4A1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#1E1D2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #270d4a;
/* rgb */ color: rgb(39, 13, 74);
/* oklch */ color: oklch(24.2% 0.105 297.2);
Tailwind
colors: {
  custom: {
    50: '#654e7d',
    500: '#270d4a',
    950: '#000000',
  },
}
SCSS
$custom: #270d4a;
$custom-light: #654e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#270d4a",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 265.574,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24236,
    "c": 0.10487,
    "h": 297.2
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#270D4A
secondary
#60852E
accent
#ED3BA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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