#270E4D#270E4D

#270E4D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.107 H 295.4°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#270E4D
RGBrgb(39, 14, 77)
HSLhsl(264, 69%, 18%)
HSVhsv(264, 82%, 30%)
CMYKcmyk(49.4%, 81.8%, 0%, 69.8%)
CIE-LABlab(11.14, 28.31, -33.87)
CIE-LCHlch(11.14, 44.14, 309.89°)
OKLaboklab(24.67% 0.0461 -0.097)
OKLCHoklch(24.67% 0.107 295.4)
XYZxyz(2.3329, 1.2812, 7.1441)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E4D #344D0E
analogous
#0E144D #270E4D #470E4D
triadic
#270E4D #4D270E #0E4D27
tetradic
#270E4D #4D0E14 #344D0E #0E4D47
square
#270E4D #4D0E14 #344D0E #0E4D47
split-complementary
#270E4D #4D470E #144D0E
monochromatic
#0D051A #0D051A #270E4D #411781 #5B21B5

Accessibility & contrast

On white

16.72
#270E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E4D
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E4D#FFFFFF#000000##FFFFFF
##270E4D1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#1C1F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #270e4d;
/* rgb */ color: rgb(39, 14, 77);
/* oklch */ color: oklch(24.7% 0.107 295.4);
Tailwind
colors: {
  custom: {
    50: '#664f7f',
    500: '#270e4d',
    950: '#000000',
  },
}
SCSS
$custom: #270e4d;
$custom-light: #664f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#270e4d",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 263.81,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24671,
    "c": 0.10742,
    "h": 295.4
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#270E4D
secondary
#65882F
accent
#EC3CA6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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