#270749#270749

#270749 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.111 H 299.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#270749
RGBrgb(39, 7, 73)
HSLhsl(269, 83%, 16%)
HSVhsv(269, 90%, 29%)
CMYKcmyk(46.6%, 90.4%, 0%, 71.4%)
CIE-LABlab(9.52, 30.65, -33.75)
CIE-LCHlch(9.52, 45.59, 312.24°)
OKLaboklab(23.41% 0.0542 -0.0966)
OKLCHoklch(23.41% 0.111 299.3)
XYZxyz(2.1150, 1.0643, 6.3960)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270749 #294907
analogous
#070849 #270749 #480749
triadic
#270749 #492707 #074927
tetradic
#270749 #490708 #294907 #074948
square
#270749 #490708 #294907 #074948
split-complementary
#270749 #494807 #084907
monochromatic
#0F031C #0F031C #270749 #450C81 #6312B9

Accessibility & contrast

On white

17.32
#270749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270749
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270749#FFFFFF#000000##FFFFFF
##2707491.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#1F1A29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270749;
/* rgb */ color: rgb(39, 7, 73);
/* oklch */ color: oklch(23.4% 0.111 299.3);
Tailwind
colors: {
  custom: {
    50: '#664b7c',
    500: '#270749',
    950: '#000000',
  },
}
SCSS
$custom: #270749;
$custom-light: #664b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#270749",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 269.091,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23409,
    "c": 0.11077,
    "h": 299.3
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#270749
secondary
#578824
accent
#F92F97
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #270749

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

Preview Lab → · Contrast checker → · Palette generator →

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