#270A4A#270A4A

#270A4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.108 H 298.0°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#270A4A
RGBrgb(39, 10, 74)
HSLhsl(267, 76%, 16%)
HSVhsv(267, 86%, 29%)
CMYKcmyk(47.3%, 86.5%, 0%, 71%)
CIE-LABlab(10.13, 29.46, -33.45)
CIE-LCHlch(10.13, 44.57, 311.37°)
OKLaboklab(23.87% 0.051 -0.0957)
OKLCHoklch(23.87% 0.108 298)
XYZxyz(2.1810, 1.1428, 6.5829)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A4A #2D4A0A
analogous
#0A0D4A #270A4A #470A4A
triadic
#270A4A #4A270A #0A4A27
tetradic
#270A4A #4A0A0D #2D4A0A #0A4A47
square
#270A4A #4A0A0D #2D4A0A #0A4A47
split-complementary
#270A4A #4A470A #0D4A0A
monochromatic
#0E041B #0E041B #270A4A #431180 #6019B6

Accessibility & contrast

On white

17.09
#270A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270A4A
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A4A#FFFFFF#000000##FFFFFF
##270A4A1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#1E1C2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #270a4a;
/* rgb */ color: rgb(39, 10, 74);
/* oklch */ color: oklch(23.9% 0.108 298.0);
Tailwind
colors: {
  custom: {
    50: '#664d7d',
    500: '#270a4a',
    950: '#000000',
  },
}
SCSS
$custom: #270a4a;
$custom-light: #664d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#270a4a",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 267.188,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23866,
    "c": 0.10845,
    "h": 298
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#270A4A
secondary
#5C8729
accent
#F3359D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #270A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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