#230A4A#230A4A

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

Color values

HEX#230A4A
RGBrgb(35, 10, 74)
HSLhsl(263, 76%, 16%)
HSVhsv(263, 86%, 29%)
CMYKcmyk(52.7%, 86.5%, 0%, 71%)
CIE-LABlab(9.55, 28.76, -34.41)
CIE-LCHlch(9.55, 44.85, 309.88°)
OKLaboklab(23.34% 0.0439 -0.0987)
OKLCHoklch(23.34% 0.108 294)
XYZxyz(2.0374, 1.0688, 6.5762)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A4A #314A0A
analogous
#0A114A #230A4A #430A4A
triadic
#230A4A #4A230A #0A4A23
tetradic
#230A4A #4A0A11 #314A0A #0A4A43
square
#230A4A #4A0A11 #314A0A #0A4A43
split-complementary
#230A4A #4A430A #114A0A
monochromatic
#0D041B #0D041B #230A4A #3D1180 #5619B6

Accessibility & contrast

On white

17.30
#230A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A4A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A4A#FFFFFF#000000##FFFFFF
##230A4A1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#171C2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230a4a;
/* rgb */ color: rgb(35, 10, 74);
/* oklch */ color: oklch(23.3% 0.108 294.0);
Tailwind
colors: {
  custom: {
    50: '#634c7d',
    500: '#230a4a',
    950: '#000000',
  },
}
SCSS
$custom: #230a4a;
$custom-light: #634c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#230a4a",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 263.438,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23335,
    "c": 0.10806,
    "h": 294
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#230A4A
secondary
#628729
accent
#F335A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #230A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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