#270439#270439

#270439 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.097 H 310.8°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#270439
RGBrgb(39, 4, 57)
HSLhsl(280, 87%, 12%)
HSVhsv(280, 93%, 22%)
CMYKcmyk(31.6%, 93%, 0%, 77.6%)
CIE-LABlab(7.35, 27.99, -25.91)
CIE-LCHlch(7.35, 38.14, 317.22°)
OKLaboklab(21.39% 0.0635 -0.0736)
OKLCHoklch(21.39% 0.097 310.8)
XYZxyz(1.6185, 0.8136, 3.9419)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270439 #163904
analogous
#0D0439 #270439 #390431
triadic
#270439 #392704 #043927
tetradic
#270439 #390D04 #163904 #043139
square
#270439 #390D04 #163904 #043139
split-complementary
#270439 #313904 #04390D
monochromatic
#14021D #14021D #270439 #4E0872 #750CAB

Accessibility & contrast

On white

18.06
#270439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270439
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270439#FFFFFF#000000##FFFFFF
##2704391.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270439;
/* rgb */ color: rgb(39, 4, 57);
/* oklch */ color: oklch(21.4% 0.097 310.8);
Tailwind
colors: {
  custom: {
    50: '#644870',
    500: '#270439',
    950: '#000000',
  },
}
SCSS
$custom: #270439;
$custom-light: #644870;
$custom-dark: #000000;
JSON
{
  "hex": "#270439",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 279.623,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21394,
    "c": 0.09719,
    "h": 310.8
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#270439
secondary
#3D7B1E
accent
#FD2B72
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #270439

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

Preview Lab → · Contrast checker → · Palette generator →

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