#270D36#270D36

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

Color values

HEX#270D36
RGBrgb(39, 13, 54)
HSLhsl(278, 61%, 13%)
HSVhsv(278, 76%, 21%)
CMYKcmyk(27.8%, 75.9%, 0%, 78.8%)
CIE-LABlab(8.87, 22.17, -21.27)
CIE-LCHlch(8.87, 30.72, 316.19°)
OKLaboklab(22.4% 0.0517 -0.06)
OKLCHoklch(22.4% 0.079 310.8)
XYZxyz(1.6464, 0.9856, 3.5928)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D36 #1C360D
analogous
#120D36 #270D36 #360D30
triadic
#270D36 #36270D #0D3627
tetradic
#270D36 #36120D #1C360D #0D3036
square
#270D36 #36120D #1C360D #0D3036
split-complementary
#270D36 #30360D #0D3612
monochromatic
#120619 #120619 #270D36 #4B1967 #6E2599

Accessibility & contrast

On white

17.54
#270D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D36
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D36#FFFFFF#000000##FFFFFF
##270D361.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#081A35
Tritanopia (blue-blind)
#251520
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270d36;
/* rgb */ color: rgb(39, 13, 54);
/* oklch */ color: oklch(22.4% 0.079 310.8);
Tailwind
colors: {
  custom: {
    50: '#634d6d',
    500: '#270d36',
    950: '#000000',
  },
}
SCSS
$custom: #270d36;
$custom-light: #634d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#270d36",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 278.049,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22403,
    "c": 0.0792,
    "h": 310.8
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#270D36
secondary
#46712D
accent
#E4437E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270D36

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

Preview Lab → · Contrast checker → · Palette generator →

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