#270D44#270D44

#270D44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.097 H 300.6°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#270D44
RGBrgb(39, 13, 68)
HSLhsl(268, 68%, 16%)
HSVhsv(268, 81%, 27%)
CMYKcmyk(42.6%, 80.9%, 0%, 73.3%)
CIE-LABlab(10.08, 26.17, -29.32)
CIE-LCHlch(10.08, 39.30, 311.74°)
OKLaboklab(23.65% 0.0495 -0.0837)
OKLCHoklch(23.65% 0.097 300.6)
XYZxyz(2.0238, 1.1365, 5.5805)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D44 #2A440D
analogous
#0D0E44 #270D44 #420D44
triadic
#270D44 #44270D #0D4427
tetradic
#270D44 #440D0E #2A440D #0D4442
square
#270D44 #440D0E #2A440D #0D4442
split-complementary
#270D44 #44420D #0E440D
monochromatic
#0F051A #0F051A #270D44 #441777 #6221AB

Accessibility & contrast

On white

17.11
#270D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#270D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D44
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D44#FFFFFF#000000##FFFFFF
##270D441.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#211B27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #270d44;
/* rgb */ color: rgb(39, 13, 68);
/* oklch */ color: oklch(23.6% 0.097 300.6);
Tailwind
colors: {
  custom: {
    50: '#654e78',
    500: '#270d44',
    950: '#000000',
  },
}
SCSS
$custom: #270d44;
$custom-light: #654e78;
$custom-dark: #000000;
JSON
{
  "hex": "#270d44",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 268.364,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2365,
    "c": 0.09723,
    "h": 300.6
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#270D44
secondary
#597F2D
accent
#EB3D99
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #270D44

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

Preview Lab → · Contrast checker → · Palette generator →

#270D44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva