#270D3C#270D3C

#270D3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.087 H 306.0°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#270D3C
RGBrgb(39, 13, 60)
HSLhsl(273, 64%, 14%)
HSVhsv(273, 78%, 24%)
CMYKcmyk(35%, 78.3%, 0%, 76.5%)
CIE-LABlab(9.36, 23.85, -24.80)
CIE-LCHlch(9.36, 34.41, 313.88°)
OKLaboklab(22.92% 0.0511 -0.0704)
OKLCHoklch(22.92% 0.087 306)
XYZxyz(1.7961, 1.0454, 4.3813)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D3C #223C0D
analogous
#0F0D3C #270D3C #3C0D3A
triadic
#270D3C #3C270D #0D3C27
tetradic
#270D3C #3C0F0D #223C0D #0D3A3C
square
#270D3C #3C0F0D #223C0D #0D3A3C
split-complementary
#270D3C #3A3C0D #0D3C0F
monochromatic
#100519 #100519 #270D3C #48186E #6823A1

Accessibility & contrast

On white

17.37
#270D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D3C
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D3C#FFFFFF#000000##FFFFFF
##270D3C1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#231723
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270d3c;
/* rgb */ color: rgb(39, 13, 60);
/* oklch */ color: oklch(22.9% 0.087 306.0);
Tailwind
colors: {
  custom: {
    50: '#644e72',
    500: '#270d3c',
    950: '#000000',
  },
}
SCSS
$custom: #270d3c;
$custom-light: #644e72;
$custom-dark: #000000;
JSON
{
  "hex": "#270d3c",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 273.191,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22915,
    "c": 0.08695,
    "h": 306
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#270D3C
secondary
#4E782D
accent
#E7408B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #270D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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