#230A33#230A33

#230A33 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.079 H 309.2°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#230A33
RGBrgb(35, 10, 51)
HSLhsl(277, 67%, 12%)
HSVhsv(277, 80%, 20%)
CMYKcmyk(31.4%, 80.4%, 0%, 80%)
CIE-LABlab(7.35, 21.90, -21.56)
CIE-LCHlch(7.35, 30.73, 315.45°)
OKLaboklab(21.08% 0.0497 -0.0611)
OKLCHoklch(21.08% 0.079 309.2)
XYZxyz(1.3991, 0.8134, 3.2146)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A33 #1A330A
analogous
#0F0A33 #230A33 #330A2F
triadic
#230A33 #33230A #0A3323
tetradic
#230A33 #330F0A #1A330A #0A2F33
square
#230A33 #330F0A #1A330A #0A2F33
split-complementary
#230A33 #2F330A #0A330F
monochromatic
#12051A #12051A #230A33 #461466 #691E99

Accessibility & contrast

On white

18.06
#230A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##230A33#FFFFFF#000000##FFFFFF
##230A331.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)
#001534
Deuteranopia (green-blind)
#041732
Tritanopia (blue-blind)
#21131D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230a33;
/* rgb */ color: rgb(35, 10, 51);
/* oklch */ color: oklch(21.1% 0.079 309.2);
Tailwind
colors: {
  custom: {
    50: '#604b6b',
    500: '#230a33',
    950: '#000000',
  },
}
SCSS
$custom: #230a33;
$custom-light: #604b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#230a33",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 276.585,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21076,
    "c": 0.07876,
    "h": 309.2
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#230A33
secondary
#457028
accent
#EA3E81
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230A33

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

Preview Lab → · Contrast checker → · Palette generator →

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