#270A44#270A44

#270A44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.101 H 301.5°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#270A44
RGBrgb(39, 10, 68)
HSLhsl(270, 74%, 15%)
HSVhsv(270, 85%, 27%)
CMYKcmyk(42.6%, 85.3%, 0%, 73.3%)
CIE-LABlab(9.53, 27.74, -30.22)
CIE-LCHlch(9.53, 41.02, 312.54°)
OKLaboklab(23.26% 0.0528 -0.0863)
OKLCHoklch(23.26% 0.101 301.5)
XYZxyz(1.9884, 1.0658, 5.5687)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A44 #27440A
analogous
#0A0A44 #270A44 #440A44
triadic
#270A44 #44270A #0A4427
tetradic
#270A44 #440A0A #27440A #0A4444
square
#270A44 #440A0A #27440A #0A4444
split-complementary
#270A44 #44440A #0A440A
monochromatic
#0F041B #0F041B #270A44 #461279 #641AAF

Accessibility & contrast

On white

17.31
#270A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A44
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A44#FFFFFF#000000##FFFFFF
##270A441.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#211926
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270a44;
/* rgb */ color: rgb(39, 10, 68);
/* oklch */ color: oklch(23.3% 0.101 301.5);
Tailwind
colors: {
  custom: {
    50: '#654d78',
    500: '#270a44',
    950: '#000000',
  },
}
SCSS
$custom: #270a44;
$custom-light: #654d78;
$custom-dark: #000000;
JSON
{
  "hex": "#270a44",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 270,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2326,
    "c": 0.10117,
    "h": 301.5
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#270A44
secondary
#558129
accent
#F13794
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270A44

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

Preview Lab → · Contrast checker → · Palette generator →

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