#270B37#270B37

#270B37 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.084 H 310.5°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#270B37
RGBrgb(39, 11, 55)
HSLhsl(278, 67%, 13%)
HSVhsv(278, 80%, 22%)
CMYKcmyk(29.1%, 80%, 0%, 78.4%)
CIE-LABlab(8.54, 23.59, -22.53)
CIE-LCHlch(8.54, 32.62, 316.31°)
OKLaboklab(22.19% 0.0544 -0.0637)
OKLCHoklch(22.19% 0.084 310.5)
XYZxyz(1.6458, 0.9466, 3.7097)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B37 #1B370B
analogous
#110B37 #270B37 #370B31
triadic
#270B37 #37270B #0B3727
tetradic
#270B37 #37110B #1B370B #0B3137
square
#270B37 #37110B #1B370B #0B3137
split-complementary
#270B37 #31370B #0B3711
monochromatic
#12051A #12051A #270B37 #4B156A #6F1F9D

Accessibility & contrast

On white

17.66
#270B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B37
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B37#FFFFFF#000000##FFFFFF
##270B371.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270b37;
/* rgb */ color: rgb(39, 11, 55);
/* oklch */ color: oklch(22.2% 0.084 310.5);
Tailwind
colors: {
  custom: {
    50: '#634c6e',
    500: '#270b37',
    950: '#000000',
  },
}
SCSS
$custom: #270b37;
$custom-light: #634c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#270b37",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 278.182,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2219,
    "c": 0.08376,
    "h": 310.5
  },
  "luminance": 0.00947
}

Semantic roles & 50–950 ramp

primary
#270B37
secondary
#45742A
accent
#EA3E7D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #270B37

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

Preview Lab → · Contrast checker → · Palette generator →

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