#270E4E#270E4E

#270E4E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.109 H 294.9°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#270E4E
RGBrgb(39, 14, 78)
HSLhsl(263, 70%, 18%)
HSVhsv(263, 82%, 31%)
CMYKcmyk(50%, 82.1%, 0%, 69.4%)
CIE-LABlab(11.24, 28.62, -34.39)
CIE-LCHlch(11.24, 44.74, 309.76°)
OKLaboklab(24.77% 0.0459 -0.0986)
OKLCHoklch(24.77% 0.109 294.9)
XYZxyz(2.3685, 1.2954, 7.3315)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E4E #354E0E
analogous
#0E154E #270E4E #470E4E
triadic
#270E4E #4E270E #0E4E27
tetradic
#270E4E #4E0E15 #354E0E #0E4E47
square
#270E4E #4E0E15 #354E0E #0E4E47
split-complementary
#270E4E #4E470E #154E0E
monochromatic
#0D051A #0D051A #270E4E #411782 #5B21B6

Accessibility & contrast

On white

16.68
#270E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E4E
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E4E#FFFFFF#000000##FFFFFF
##270E4E1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#1C1F2D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #270e4e;
/* rgb */ color: rgb(39, 14, 78);
/* oklch */ color: oklch(24.8% 0.109 294.9);
Tailwind
colors: {
  custom: {
    50: '#664f80',
    500: '#270e4e',
    950: '#000000',
  },
}
SCSS
$custom: #270e4e;
$custom-light: #664f80;
$custom-dark: #000000;
JSON
{
  "hex": "#270e4e",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 263.438,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24772,
    "c": 0.1087,
    "h": 294.9
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#270E4E
secondary
#66892F
accent
#EC3BA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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