#230440#230440

#230440 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.104 H 301.3°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#230440
RGBrgb(35, 4, 64)
HSLhsl(271, 88%, 13%)
HSVhsv(271, 94%, 25%)
CMYKcmyk(45.3%, 93.8%, 0%, 74.9%)
CIE-LABlab(7.36, 29.10, -30.96)
CIE-LCHlch(7.36, 42.49, 313.22°)
OKLaboklab(21.47% 0.054 -0.0886)
OKLCHoklch(21.47% 0.104 301.3)
XYZxyz(1.6617, 0.8143, 4.9191)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230440 #214004
analogous
#050440 #230440 #40043F
triadic
#230440 #402304 #044023
tetradic
#230440 #400504 #214004 #043F40
square
#230440 #400504 #214004 #043F40
split-complementary
#230440 #3F4004 #044005
monochromatic
#10021D #10021D #230440 #42087A #620BB3

Accessibility & contrast

On white

18.06
#230440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230440
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230440#FFFFFF#000000##FFFFFF
##2304401.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#1C1523
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230440;
/* rgb */ color: rgb(35, 4, 64);
/* oklch */ color: oklch(21.5% 0.104 301.3);
Tailwind
colors: {
  custom: {
    50: '#624875',
    500: '#230440',
    950: '#000000',
  },
}
SCSS
$custom: #230440;
$custom-light: #624875;
$custom-dark: #000000;
JSON
{
  "hex": "#230440",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 271,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21472,
    "c": 0.10378,
    "h": 301.3
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#230440
secondary
#4E811F
accent
#FE2990
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230440

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

Preview Lab → · Contrast checker → · Palette generator →

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