#270E4A#270E4A

#270E4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.104 H 297.0°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#270E4A
RGBrgb(39, 14, 74)
HSLhsl(265, 68%, 17%)
HSVhsv(265, 81%, 29%)
CMYKcmyk(47.3%, 81.1%, 0%, 71%)
CIE-LABlab(10.85, 27.40, -32.27)
CIE-LCHlch(10.85, 42.34, 310.34°)
OKLaboklab(24.37% 0.047 -0.0923)
OKLCHoklch(24.37% 0.104 297)
XYZxyz(2.2294, 1.2398, 6.5991)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E4A #314A0E
analogous
#0E134A #270E4A #450E4A
triadic
#270E4A #4A270E #0E4A27
tetradic
#270E4A #4A0E13 #314A0E #0E4A45
square
#270E4A #4A0E13 #314A0E #0E4A45
split-complementary
#270E4A #4A450E #134A0E
monochromatic
#0E051A #0E051A #270E4A #42187D #5D21B1

Accessibility & contrast

On white

16.83
#270E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#270E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E4A
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E4A#FFFFFF#000000##FFFFFF
##270E4A1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.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: #270e4a;
/* rgb */ color: rgb(39, 14, 74);
/* oklch */ color: oklch(24.4% 0.104 297.0);
Tailwind
colors: {
  custom: {
    50: '#654f7d',
    500: '#270e4a',
    950: '#000000',
  },
}
SCSS
$custom: #270e4a;
$custom-light: #654f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#270e4a",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 265,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24371,
    "c": 0.10357,
    "h": 297
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#270E4A
secondary
#61852F
accent
#EB3DA2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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