#230A45#230A45

#230A45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.102 H 296.6°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#230A45
RGBrgb(35, 10, 69)
HSLhsl(265, 75%, 15%)
HSVhsv(265, 86%, 27%)
CMYKcmyk(49.3%, 85.5%, 0%, 72.9%)
CIE-LABlab(9.02, 27.25, -31.78)
CIE-LCHlch(9.02, 41.86, 310.61°)
OKLaboklab(22.81% 0.0456 -0.091)
OKLCHoklch(22.81% 0.102 296.6)
XYZxyz(1.8756, 1.0040, 5.7241)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A45 #2C450A
analogous
#0A0E45 #230A45 #400A45
triadic
#230A45 #45230A #0A4523
tetradic
#230A45 #450A0E #2C450A #0A4540
square
#230A45 #450A0E #2C450A #0A4540
split-complementary
#230A45 #45400A #0E450A
monochromatic
#0E041B #0E041B #230A45 #3E127A #5919B0

Accessibility & contrast

On white

17.49
#230A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230A45
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A45#FFFFFF#000000##FFFFFF
##230A451.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#1A1A27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230a45;
/* rgb */ color: rgb(35, 10, 69);
/* oklch */ color: oklch(22.8% 0.102 296.6);
Tailwind
colors: {
  custom: {
    50: '#624c79',
    500: '#230a45',
    950: '#000000',
  },
}
SCSS
$custom: #230a45;
$custom-light: #624c79;
$custom-dark: #000000;
JSON
{
  "hex": "#230a45",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 265.424,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22806,
    "c": 0.10177,
    "h": 296.6
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#230A45
secondary
#5C8229
accent
#F136A2
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230A45

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

Preview Lab → · Contrast checker → · Palette generator →

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