#270C35#270C35

#270C35 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.080 H 312.0°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#270C35
RGBrgb(39, 12, 53)
HSLhsl(280, 63%, 13%)
HSVhsv(280, 77%, 21%)
CMYKcmyk(26.4%, 77.4%, 0%, 79.2%)
CIE-LABlab(8.58, 22.48, -21.01)
CIE-LCHlch(8.58, 30.77, 316.94°)
OKLaboklab(22.17% 0.0532 -0.0592)
OKLCHoklch(22.17% 0.08 312)
XYZxyz(1.6107, 0.9514, 3.4663)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270C35 #1A350C
analogous
#120C35 #270C35 #350C2E
triadic
#270C35 #35270C #0C3527
tetradic
#270C35 #35120C #1A350C #0C2E35
square
#270C35 #35120C #1A350C #0C2E35
split-complementary
#270C35 #2E350C #0C3512
monochromatic
#120619 #120619 #270C35 #4C1767 #702399

Accessibility & contrast

On white

17.64
#270C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#270C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270C35
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270C35#FFFFFF#000000##FFFFFF
##270C351.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#25141F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270c35;
/* rgb */ color: rgb(39, 12, 53);
/* oklch */ color: oklch(22.2% 0.080 312.0);
Tailwind
colors: {
  custom: {
    50: '#634d6c',
    500: '#270c35',
    950: '#000000',
  },
}
SCSS
$custom: #270c35;
$custom-light: #634d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270c35",
  "rgb": {
    "r": 39,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 279.512,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22168,
    "c": 0.07963,
    "h": 312
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#270C35
secondary
#43712C
accent
#E6427A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270C35

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

Preview Lab → · Contrast checker → · Palette generator →

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