#270E34#270E34

#270E34 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.075 H 312.2°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#270E34
RGBrgb(39, 14, 52)
HSLhsl(279, 58%, 13%)
HSVhsv(279, 73%, 20%)
CMYKcmyk(25%, 73.1%, 0%, 79.6%)
CIE-LABlab(8.94, 21.02, -19.71)
CIE-LCHlch(8.94, 28.81, 316.85°)
OKLaboklab(22.4% 0.0503 -0.0554)
OKLCHoklch(22.4% 0.075 312.2)
XYZxyz(1.6135, 0.9934, 3.3549)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E34 #1B340E
analogous
#140E34 #270E34 #340E2E
triadic
#270E34 #34270E #0E3427
tetradic
#270E34 #34140E #1B340E #0E2E34
square
#270E34 #34140E #1B340E #0E2E34
split-complementary
#270E34 #2E340E #0E3414
monochromatic
#120618 #120618 #270E34 #4B1B64 #6F2894

Accessibility & contrast

On white

17.52
#270E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E34
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E34#FFFFFF#000000##FFFFFF
##270E341.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#0B1A33
Tritanopia (blue-blind)
#26151F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270e34;
/* rgb */ color: rgb(39, 14, 52);
/* oklch */ color: oklch(22.4% 0.075 312.2);
Tailwind
colors: {
  custom: {
    50: '#634e6c',
    500: '#270e34',
    950: '#000000',
  },
}
SCSS
$custom: #270e34;
$custom-light: #634e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270e34",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 279.474,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22401,
    "c": 0.07484,
    "h": 312.2
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#270E34
secondary
#456F2F
accent
#E1477C
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #270E34

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

Preview Lab → · Contrast checker → · Palette generator →

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