#270A47#270A47

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

Color values

HEX#270A47
RGBrgb(39, 10, 71)
HSLhsl(269, 75%, 16%)
HSVhsv(269, 86%, 28%)
CMYKcmyk(45.1%, 85.9%, 0%, 72.2%)
CIE-LABlab(9.82, 28.60, -31.85)
CIE-LCHlch(9.82, 42.80, 311.92°)
OKLaboklab(23.56% 0.0519 -0.0911)
OKLCHoklch(23.56% 0.105 299.7)
XYZxyz(2.0823, 1.1033, 6.0633)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A47 #2A470A
analogous
#0A0B47 #270A47 #450A47
triadic
#270A47 #47270A #0A4727
tetradic
#270A47 #470A0B #2A470A #0A4745
square
#270A47 #470A0B #2A470A #0A4745
split-complementary
#270A47 #47450A #0B470A
monochromatic
#0F041B #0F041B #270A47 #44127D #6219B2

Accessibility & contrast

On white

17.20
#270A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#270A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A47
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A47#FFFFFF#000000##FFFFFF
##270A471.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#1F1A28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270a47;
/* rgb */ color: rgb(39, 10, 71);
/* oklch */ color: oklch(23.6% 0.105 299.7);
Tailwind
colors: {
  custom: {
    50: '#654d7b',
    500: '#270a47',
    950: '#000000',
  },
}
SCSS
$custom: #270a47;
$custom-light: #654d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#270a47",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 268.525,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2356,
    "c": 0.10482,
    "h": 299.7
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#270A47
secondary
#598429
accent
#F23699
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #270A47

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

Preview Lab → · Contrast checker → · Palette generator →

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