#270E4F#270E4F

#270E4F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.110 H 294.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#270E4F
RGBrgb(39, 14, 79)
HSLhsl(263, 70%, 18%)
HSVhsv(263, 82%, 31%)
CMYKcmyk(50.6%, 82.3%, 0%, 69%)
CIE-LABlab(11.34, 28.92, -34.92)
CIE-LCHlch(11.34, 45.34, 309.63°)
OKLaboklab(24.87% 0.0456 -0.1001)
OKLCHoklch(24.87% 0.11 294.5)
XYZxyz(2.4046, 1.3099, 7.5218)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E4F #364F0E
analogous
#0E154F #270E4F #470E4F
triadic
#270E4F #4F270E #0E4F27
tetradic
#270E4F #4F0E15 #364F0E #0E4F47
square
#270E4F #4F0E15 #364F0E #0E4F47
split-complementary
#270E4F #4F470E #154F0E
monochromatic
#0D051A #0D051B #270E4F #411783 #5A20B7

Accessibility & contrast

On white

16.64
#270E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#270E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E4F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E4F#FFFFFF#000000##FFFFFF
##270E4F1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#1B1F2E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #270e4f;
/* rgb */ color: rgb(39, 14, 79);
/* oklch */ color: oklch(24.9% 0.110 294.5);
Tailwind
colors: {
  custom: {
    50: '#664f81',
    500: '#270e4f',
    950: '#000000',
  },
}
SCSS
$custom: #270e4f;
$custom-light: #664f81;
$custom-dark: #000000;
JSON
{
  "hex": "#270e4f",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 263.077,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24874,
    "c": 0.10997,
    "h": 294.5
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#270E4F
secondary
#678A2F
accent
#ED3BA8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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