#270743#270743

#270743 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.104 H 302.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#270743
RGBrgb(39, 7, 67)
HSLhsl(272, 81%, 15%)
HSVhsv(272, 90%, 26%)
CMYKcmyk(41.8%, 89.6%, 0%, 73.7%)
CIE-LABlab(8.90, 29.00, -30.55)
CIE-LCHlch(8.90, 42.12, 313.51°)
OKLaboklab(22.79% 0.0564 -0.0872)
OKLCHoklch(22.79% 0.104 302.9)
XYZxyz(1.9256, 0.9885, 5.3985)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270743 #234307
analogous
#090743 #270743 #430741
triadic
#270743 #432707 #074327
tetradic
#270743 #430907 #234307 #074143
square
#270743 #430907 #234307 #074143
split-complementary
#270743 #414307 #074309
monochromatic
#10031C #10031C #270743 #470D7A #6813B2

Accessibility & contrast

On white

17.53
#270743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270743
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270743#FFFFFF#000000##FFFFFF
##2707431.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001942
Tritanopia (blue-blind)
#211725
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270743;
/* rgb */ color: rgb(39, 7, 67);
/* oklch */ color: oklch(22.8% 0.104 302.9);
Tailwind
colors: {
  custom: {
    50: '#654b78',
    500: '#270743',
    950: '#000000',
  },
}
SCSS
$custom: #270743;
$custom-light: #654b78;
$custom-dark: #000000;
JSON
{
  "hex": "#270743",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 272,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22788,
    "c": 0.10385,
    "h": 302.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#270743
secondary
#508224
accent
#F7308D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270743

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

Preview Lab → · Contrast checker → · Palette generator →

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