#270639#270639

#270639 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.094 H 310.2°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#270639
RGBrgb(39, 6, 57)
HSLhsl(279, 81%, 12%)
HSVhsv(279, 89%, 22%)
CMYKcmyk(31.6%, 89.5%, 0%, 77.6%)
CIE-LABlab(7.74, 26.88, -25.27)
CIE-LCHlch(7.74, 36.89, 316.76°)
OKLaboklab(21.68% 0.0607 -0.0717)
OKLCHoklch(21.68% 0.094 310.2)
XYZxyz(1.6402, 0.8570, 3.9491)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270639 #183906
analogous
#0E0639 #270639 #390631
triadic
#270639 #392706 #063927
tetradic
#270639 #390E06 #183906 #063139
square
#270639 #390E06 #183906 #063139
split-complementary
#270639 #313906 #06390E
monochromatic
#13031C #13031C #270639 #4D0C70 #7312A8

Accessibility & contrast

On white

17.93
#270639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270639
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270639#FFFFFF#000000##FFFFFF
##2706391.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270639;
/* rgb */ color: rgb(39, 6, 57);
/* oklch */ color: oklch(21.7% 0.094 310.2);
Tailwind
colors: {
  custom: {
    50: '#644a70',
    500: '#270639',
    950: '#000000',
  },
}
SCSS
$custom: #270639;
$custom-light: #644a70;
$custom-dark: #000000;
JSON
{
  "hex": "#270639",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 278.824,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21679,
    "c": 0.09391,
    "h": 310.2
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#270639
secondary
#407922
accent
#F73077
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #270639

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

Preview Lab → · Contrast checker → · Palette generator →

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