#230A3A#230A3A

#230A3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.088 H 303.6°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#230A3A
RGBrgb(35, 10, 58)
HSLhsl(271, 71%, 13%)
HSVhsv(271, 83%, 23%)
CMYKcmyk(39.7%, 82.8%, 0%, 77.3%)
CIE-LABlab(7.95, 23.98, -25.69)
CIE-LCHlch(7.95, 35.14, 313.03°)
OKLaboklab(21.71% 0.0485 -0.0731)
OKLCHoklch(21.71% 0.088 303.6)
XYZxyz(1.5652, 0.8799, 4.0895)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A3A #213A0A
analogous
#0B0A3A #230A3A #3A0A39
triadic
#230A3A #3A230A #0A3A23
tetradic
#230A3A #3A0B0A #213A0A #0A393A
square
#230A3A #3A0B0A #213A0A #0A393A
split-complementary
#230A3A #393A0A #0A3A0B
monochromatic
#10051A #10051A #230A3A #42136E #621CA2

Accessibility & contrast

On white

17.86
#230A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A3A
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A3A#FFFFFF#000000##FFFFFF
##230A3A1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#1E1521
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230a3a;
/* rgb */ color: rgb(35, 10, 58);
/* oklch */ color: oklch(21.7% 0.088 303.6);
Tailwind
colors: {
  custom: {
    50: '#614b70',
    500: '#230a3a',
    950: '#000000',
  },
}
SCSS
$custom: #230a3a;
$custom-light: #614b70;
$custom-dark: #000000;
JSON
{
  "hex": "#230a3a",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 271.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21713,
    "c": 0.08776,
    "h": 303.6
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#230A3A
secondary
#4E7728
accent
#ED3A90
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230A3A

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

Preview Lab → · Contrast checker → · Palette generator →

#230A3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva