#270537#270537

#270537 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.093 H 312.1°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#270537
RGBrgb(39, 5, 55)
HSLhsl(281, 83%, 12%)
HSVhsv(281, 91%, 22%)
CMYKcmyk(29.1%, 90.9%, 0%, 78.4%)
CIE-LABlab(7.37, 26.89, -24.42)
CIE-LCHlch(7.37, 36.32, 317.76°)
OKLaboklab(21.35% 0.0626 -0.0693)
OKLCHoklch(21.35% 0.093 312.1)
XYZxyz(1.5804, 0.8158, 3.6879)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270537 #153705
analogous
#0E0537 #270537 #37052E
triadic
#270537 #372705 #053727
tetradic
#270537 #370E05 #153705 #052E37
square
#270537 #370E05 #153705 #052E37
split-complementary
#270537 #2E3705 #05370E
monochromatic
#14031C #14031C #270537 #4F0A6F #770FA7

Accessibility & contrast

On white

18.05
#270537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270537
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270537#FFFFFF#000000##FFFFFF
##2705371.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#25111E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270537;
/* rgb */ color: rgb(39, 5, 55);
/* oklch */ color: oklch(21.3% 0.093 312.1);
Tailwind
colors: {
  custom: {
    50: '#64496e',
    500: '#270537',
    950: '#000000',
  },
}
SCSS
$custom: #270537;
$custom-light: #64496e;
$custom-dark: #000000;
JSON
{
  "hex": "#270537",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 280.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21349,
    "c": 0.09335,
    "h": 312.1
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#270537
secondary
#3C7820
accent
#FA2E6F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #270537

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

Preview Lab → · Contrast checker → · Palette generator →

#270537 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva