#270539#270539

#270539 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.096 H 310.5°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#270539
RGBrgb(39, 5, 57)
HSLhsl(279, 84%, 12%)
HSVhsv(279, 91%, 22%)
CMYKcmyk(31.6%, 91.2%, 0%, 77.6%)
CIE-LABlab(7.55, 27.43, -25.59)
CIE-LCHlch(7.55, 37.51, 316.99°)
OKLaboklab(21.54% 0.062 -0.0727)
OKLCHoklch(21.54% 0.096 310.5)
XYZxyz(1.6293, 0.8353, 3.9455)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270539 #173905
analogous
#0D0539 #270539 #390531
triadic
#270539 #392705 #053927
tetradic
#270539 #390D05 #173905 #053139
square
#270539 #390D05 #173905 #053139
split-complementary
#270539 #313905 #05390D
monochromatic
#13021C #13021C #270539 #4D0A71 #740FAA

Accessibility & contrast

On white

17.99
#270539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270539
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270539#FFFFFF#000000##FFFFFF
##2705391.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#24121F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270539;
/* rgb */ color: rgb(39, 5, 57);
/* oklch */ color: oklch(21.5% 0.096 310.5);
Tailwind
colors: {
  custom: {
    50: '#644970',
    500: '#270539',
    950: '#000000',
  },
}
SCSS
$custom: #270539;
$custom-light: #644970;
$custom-dark: #000000;
JSON
{
  "hex": "#270539",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 279.231,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21537,
    "c": 0.09554,
    "h": 310.5
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#270539
secondary
#3F7A20
accent
#FA2E74
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #270539

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

Preview Lab → · Contrast checker → · Palette generator →

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