#270744#270744

#270744 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.105 H 302.3°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#270744
RGBrgb(39, 7, 68)
HSLhsl(271, 81%, 15%)
HSVhsv(271, 90%, 27%)
CMYKcmyk(42.6%, 89.7%, 0%, 73.3%)
CIE-LABlab(9.00, 29.27, -31.09)
CIE-LCHlch(9.00, 42.70, 313.27°)
OKLaboklab(22.89% 0.056 -0.0888)
OKLCHoklch(22.89% 0.105 302.3)
XYZxyz(1.9558, 1.0006, 5.5578)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270744 #244407
analogous
#080744 #270744 #440743
triadic
#270744 #442707 #074427
tetradic
#270744 #440807 #244407 #074344
square
#270744 #440807 #244407 #074344
split-complementary
#270744 #434407 #074408
monochromatic
#10031C #10031C #270744 #470D7B #6712B3

Accessibility & contrast

On white

17.50
#270744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270744
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270744#FFFFFF#000000##FFFFFF
##2707441.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001943
Tritanopia (blue-blind)
#211826
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270744;
/* rgb */ color: rgb(39, 7, 68);
/* oklch */ color: oklch(22.9% 0.105 302.3);
Tailwind
colors: {
  custom: {
    50: '#654b78',
    500: '#270744',
    950: '#000000',
  },
}
SCSS
$custom: #270744;
$custom-light: #654b78;
$custom-dark: #000000;
JSON
{
  "hex": "#270744",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 271.475,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22889,
    "c": 0.105,
    "h": 302.3
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#270744
secondary
#518324
accent
#F8308F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270744

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

Preview Lab → · Contrast checker → · Palette generator →

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