#230A46#230A46

#230A46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.103 H 296.1°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#230A46
RGBrgb(35, 10, 70)
HSLhsl(265, 75%, 16%)
HSVhsv(265, 86%, 27%)
CMYKcmyk(50%, 85.7%, 0%, 72.5%)
CIE-LABlab(9.13, 27.55, -32.31)
CIE-LCHlch(9.13, 42.46, 310.45°)
OKLaboklab(22.91% 0.0453 -0.0926)
OKLCHoklch(22.91% 0.103 296.1)
XYZxyz(1.9069, 1.0166, 5.8889)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A46 #2D460A
analogous
#0A0F46 #230A46 #410A46
triadic
#230A46 #46230A #0A4623
tetradic
#230A46 #460A0F #2D460A #0A4641
square
#230A46 #460A0F #2D460A #0A4641
split-complementary
#230A46 #46410A #0F460A
monochromatic
#0D041B #0D041B #230A46 #3E127C #5919B1

Accessibility & contrast

On white

17.45
#230A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A46
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A46#FFFFFF#000000##FFFFFF
##230A461.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#191A28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230a46;
/* rgb */ color: rgb(35, 10, 70);
/* oklch */ color: oklch(22.9% 0.103 296.1);
Tailwind
colors: {
  custom: {
    50: '#624c7a',
    500: '#230a46',
    950: '#000000',
  },
}
SCSS
$custom: #230a46;
$custom-light: #624c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230a46",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 265,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22911,
    "c": 0.10304,
    "h": 296.1
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#230A46
secondary
#5D8329
accent
#F236A4
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230A46

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

Preview Lab → · Contrast checker → · Palette generator →

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